aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Page/Router.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-10-08 13:33:39 +0300
committereug-vs <eug-vs@keemail.me>2020-10-08 13:33:39 +0300
commit4a86d5c3f0b023c6e4e7862f2a49301ef8b4d3f7 (patch)
tree473a66b65b10303cc0d140a8cec5da111da47817 /src/containers/Page/Router.tsx
parentcc9c17a86cefd0460ccba7aeda7c0b57efe0ccb1 (diff)
downloadwhich-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.tsx2
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} />