diff --git a/src/main.jsx b/src/main.jsx
index f31598c..84a1368 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -82,38 +82,46 @@ const routerMapping = [
/** Reads authConfig from AppProvider context and passes it to AuthProvider. */
function AppContent() {
const { authConfig } = useAppContext();
+ const navigate = useNavigate();
return (
-
-
-
-
+
+
+
-
-
+
+
-
- {routerMapping.map(({ path, component: Component }) => (
- }
- />
- ))}
-
-
+
+ {routerMapping.map(({ path, component: Component }) => (
+ }
+ />
+ ))}
+
+
-
-
-
+
+
);
}
+function AppWithAuth() {
+ const navigate = useNavigate();
+ return (
+ navigate("/login")}>
+
+
+ );
+}
+
root.render(
-
-
-
+
+
+
);
\ No newline at end of file