mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
#58 fixed lab detection at create dialog
This commit is contained in:
parent
e5ed6361e6
commit
558a97d278
3 changed files with 14 additions and 2 deletions
|
@ -23,7 +23,7 @@ const MainRouter: FC<IProps> = () => {
|
|||
<Route path={URLS.ERRORS.NOT_FOUND} component={ErrorNotFound} />
|
||||
<Route path={URLS.PROFILE_PAGE(':username')} component={ProfilePage} />
|
||||
|
||||
{is_user && <Route exact path={URLS.LAB} component={LabLayout} />}
|
||||
{is_user && <Route path={URLS.LAB} component={LabLayout} />}
|
||||
|
||||
<Route path={URLS.BASE} component={FlowLayout} />
|
||||
<Redirect to="/" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue