diff options
author | eug-vs <eug-vs@keemail.me> | 2020-10-08 13:33:39 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-10-08 13:33:39 +0300 |
commit | 4a86d5c3f0b023c6e4e7862f2a49301ef8b4d3f7 (patch) | |
tree | 473a66b65b10303cc0d140a8cec5da111da47817 /src/containers/Page/Router.tsx | |
parent | cc9c17a86cefd0460ccba7aeda7c0b57efe0ccb1 (diff) | |
download | which-ui-4a86d5c3f0b023c6e4e7862f2a49301ef8b4d3f7.tar.gz |
feat: allow reaching modal routes from outside
Diffstat (limited to 'src/containers/Page/Router.tsx')
-rw-r--r-- | src/containers/Page/Router.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Page/Router.tsx b/src/containers/Page/Router.tsx index abf8f00..7c3a418 100644 --- a/src/containers/Page/Router.tsx +++ b/src/containers/Page/Router.tsx @@ -27,7 +27,7 @@ const Router: React.FC = React.memo(() => { return ( <> - {background && ModalSwitch} + {ModalSwitch} <Switch location={background || location}> <Route exact path="/" component={Home} /> <Route exact path="/login" component={Login} /> |