How to remove signin completely from demo2 react?
Hi,
I am trying to access dashboard directly. Without the need to login.
How do i remove login from dashboard?
Framework: React
demo2
Replies (4)
Can someone please reply here?
You can achieve this by updating file react/demo1/src/app/routing/Routes.tsx.
Replace the component content to:
<>
<Switch>
<Route path='/error' component={ErrorsPage} />
<Route path='/logout' component={Logout} /> <>
<MasterLayout>
<PrivateRoutes />
</MasterLayout>
</>
</Switch>
<MasterInit />
</>
i did that but it showed nothing so i also delete component from App.tsx around the routes but it stucks at loading logo
how can i remove login page and skip to dashboard?
i meant the "AUTHINIT" component around the Routes