chore: quick fix

This commit is contained in:
Sabir Hassan 2024-02-29 12:14:17 +05:00
parent dc6f7f1a83
commit f99d131b6c

View File

@ -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