added endpoints for profile and feed

This commit is contained in:
Kai Ritthaler 2025-06-26 11:10:52 +02:00 committed by mrProm3theus
parent 9e6eeb27fd
commit 1800056918
22 changed files with 952 additions and 110 deletions

View file

@ -31,7 +31,7 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
const toggleLogin = (event: React.MouseEvent<HTMLElement>) => {
event.preventDefault();
setErrorMessages(undefined);
setSignup(!signup);
signup ? navigate("/login") : navigate("/register");
};
const [formData, setFormData] = useState<FormData>({
username: "",