mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-29 14:46:41 +07:00
remove unused old 404 page
This commit is contained in:
parent
7a7b7a4bf9
commit
7f411713f4
4 changed files with 0 additions and 64 deletions
|
@ -3,7 +3,6 @@ import { FC } from 'react';
|
|||
import { Redirect, Route, Switch, useLocation } from 'react-router';
|
||||
|
||||
import { URLS } from '~/constants/urls';
|
||||
import { ErrorNotFound } from '~/containers/pages/ErrorNotFound';
|
||||
import { useAuth } from '~/hooks/auth/useAuth';
|
||||
import { ProfileLayout } from '~/layouts/ProfileLayout';
|
||||
import FlowPage from '~/pages';
|
||||
|
@ -21,7 +20,6 @@ const MainRouter: FC<IProps> = () => {
|
|||
<Switch location={location}>
|
||||
<Route path={URLS.NODE_URL(':id')} component={NodePage} />
|
||||
<Route path={URLS.BORIS} component={BorisPage} />
|
||||
<Route path={URLS.ERRORS.NOT_FOUND} component={ErrorNotFound} />
|
||||
<Route path={URLS.PROFILE_PAGE(':username')} component={ProfileLayout} />
|
||||
|
||||
{isUser && <Route path={URLS.LAB} component={LabPage} />}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue