Skip to content
Snippets Groups Projects
Commit 4f9a47e3 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

edit route

parent c225e481
No related branches found
No related tags found
2 merge requests!8local- conf,!7feat: add front office
Pipeline #15488 passed
......@@ -11,12 +11,7 @@ const Routes: React.FC = () => {
return (
<Switch>
{user && (
<>
<Redirect path="/" to="/editing" />
<Redirect path="/login" to="/editing" />
</>
)}
{user && <Redirect path="/login" to="/editing" />}
<Route path="/login" component={Login} />
<PrivateRoute path="/editing" component={Editing} exact />
<PrivateRoute path="/settings" component={Settings} exact />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment