chore: quick fix
This commit is contained in:
parent
dc6f7f1a83
commit
f99d131b6c
@ -29,12 +29,7 @@ const App = () => {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<MainLayout />}>
|
||||
{authState?.loggedIn && (
|
||||
<Route
|
||||
path='/'
|
||||
element={<Navigate to={appPrivateRoutes.homePage} />}
|
||||
/>
|
||||
)}
|
||||
{authState?.loggedIn && <Route path='/' element={<LandingPage />} />}
|
||||
{authState?.loggedIn &&
|
||||
privateRoutes.map((route, index) => (
|
||||
<Route
|
||||
|
Loading…
Reference in New Issue
Block a user