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