changed - default page changed

This commit is contained in:
2025-11-11 00:23:49 +05:30
parent f46afc9f9a
commit 62c0053973
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ const NotFound = lazy(() => import("./pages/not-found"));
function Router() {
return (
<Switch>
<ProtectedRoute path="/" component={() => <Redirect to="/patients" />} />
<ProtectedRoute path="/" component={() => <Redirect to="/insurance-status" />} />
<ProtectedRoute path="/dashboard" component={() => <Dashboard />} />
<ProtectedRoute

View File

@@ -67,7 +67,7 @@ export default function AuthPage() {
useEffect(() => {
if (user) {
navigate("/patients");
navigate("/insurance-status");
}
}, [user, navigate]);