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

moved history listen to sagas

This commit is contained in:
Fedor Katurov 2019-11-25 12:12:51 +07:00
parent e5be4c383e
commit d7ed0cbe54
9 changed files with 107 additions and 61 deletions

View file

@ -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="/restore/:code" component={ErrorNotFound} />
<Redirect to="/" />
</Switch>