From 4a86d5c3f0b023c6e4e7862f2a49301ef8b4d3f7 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Thu, 8 Oct 2020 13:33:39 +0300
Subject: feat: allow reaching modal routes from outside

---
 src/containers/Page/Router.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/containers/Page/Router.tsx')

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} />
-- 
cgit v1.2.3

