diff --git a/code/frontend/src/App.tsx b/code/frontend/src/App.tsx
index 90e803a..0e2c589 100644
--- a/code/frontend/src/App.tsx
+++ b/code/frontend/src/App.tsx
@@ -8,9 +8,9 @@ import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
function App() {
return (
-
-
-
+
+
+
}
>
-
-
-
-
+
+
+
);
}
diff --git a/code/frontend/src/components/Footer.tsx b/code/frontend/src/components/Footer.tsx
index 2393399..6de60d4 100644
--- a/code/frontend/src/components/Footer.tsx
+++ b/code/frontend/src/components/Footer.tsx
@@ -1,16 +1,16 @@
import "./footer.css";
-
+import { Link } from "react-router-dom";
function Footer() {
return (
);
diff --git a/code/frontend/src/pages/LoginAndSignUpPage.tsx b/code/frontend/src/pages/LoginAndSignUpPage.tsx
index 34e3914..253174e 100644
--- a/code/frontend/src/pages/LoginAndSignUpPage.tsx
+++ b/code/frontend/src/pages/LoginAndSignUpPage.tsx
@@ -1,5 +1,5 @@
import "./loginAndSignUpPage.css";
-import { useState } from "react";
+import { useEffect, useState } from "react";
import axios from "axios";
type FormData = {
@@ -14,6 +14,9 @@ function LoginAndSignUpPage({ signupProp }: { signupProp: boolean }) {
error: String;
details: { message: string }[];
}>();
+ useEffect(() => {
+ setSignup(signupProp);
+ }, [signupProp]);
const toggleLogin = (event: React.MouseEvent) => {
event.preventDefault();
setErrorMessages(undefined);