diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx
index 46a2e89d2..467e15ed8 100644
--- a/src/frontend/src/App.tsx
+++ b/src/frontend/src/App.tsx
@@ -9,6 +9,7 @@ import ErrorAlert from "./alerts/error";
import NoticeAlert from "./alerts/notice";
import SuccessAlert from "./alerts/success";
import CrashErrorComponent from "./components/CrashErrorComponent";
+import LoadingComponent from "./components/loadingComponent";
import { alertContext } from "./contexts/alertContext";
import { locationContext } from "./contexts/locationContext";
import { TabsContext } from "./contexts/tabsContext";
@@ -47,10 +48,6 @@ export default function App() {
}>
>([]);
- const isLoginPage = location.pathname.includes("login");
- const isAdminPage = location.pathname.includes("admin");
- const isSignUpPage = location.pathname.includes("signup");
-
// Use effect hook to update alertsList when a new alert is added
useEffect(() => {
// If there is an error alert open with data, add it to the alertsList
@@ -138,8 +135,15 @@ export default function App() {
}}
FallbackComponent={CrashErrorComponent}
>
- {!isLoginPage && !isSignUpPage &&