changed - default page changed
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -67,7 +67,7 @@ export default function AuthPage() {
|
||||
|
||||
useEffect(() => {
|
||||
if (user) {
|
||||
navigate("/patients");
|
||||
navigate("/insurance-status");
|
||||
}
|
||||
}, [user, navigate]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user