1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

test profile page

This commit is contained in:
Fedor Katurov 2019-12-03 17:18:18 +07:00
parent 0d64d847a1
commit 718bb8c9c7
4 changed files with 17 additions and 1 deletions

View file

@ -18,7 +18,7 @@ import { NodeLayout } from './node/NodeLayout';
import { BottomContainer } from '~/containers/main/BottomContainer';
import { BorisLayout } from './node/BorisLayout';
import { ErrorNotFound } from './pages/ErrorNotFound';
import { ProfileLayout } from './profile/ProfileLayout';
import { ProfilePage } from './profile/ProfilePage';
const mapStateToProps = state => ({
modal: selectModal(state),
@ -44,6 +44,7 @@ const Component: FC<IProps> = ({ modal: { is_shown } }) => {
<Route path={URLS.NODE_URL(':id')} component={NodeLayout} />
<Route path={URLS.BORIS} component={BorisLayout} />
<Route path={URLS.ERRORS.NOT_FOUND} component={ErrorNotFound} />
<Route path={URLS.PROFILE_PAGE} component={ProfilePage} />
<Redirect to="/" />
</Switch>