From 2247e281f7f1c8c59ff758053dcb7b2c4f28d4a9 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Fri, 3 Jul 2020 19:02:06 +0300
Subject: feat: create a bunch of empty pages

---
 src/pages/Page.tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/pages/Page.tsx')

diff --git a/src/pages/Page.tsx b/src/pages/Page.tsx
index f6353b2..2a09228 100644
--- a/src/pages/Page.tsx
+++ b/src/pages/Page.tsx
@@ -4,6 +4,8 @@ import { SnackbarProvider } from 'notistack';
 import ProfilePage from './ProfilePage/ProfilePage';
 import FeedPage from './FeedPage/FeedPage';
 import AuthPage from './AuthPage/AuthPage';
+import HomePage from './HomePage/HomePage';
+import NotificationsPage from './NotificationsPage/NotificationsPage';
 import { useNavigate } from '../hooks/useNavigate';
 
 const useStyles = makeStyles(theme => ({
@@ -27,9 +29,11 @@ const Page: React.FC = () => {
       }}
     >
       <div className={classes.root}>
+        { page.prefix === 'home' && <HomePage />}
         { page.prefix === 'profile' && <ProfilePage />}
         { page.prefix === 'feed' && <FeedPage /> }
         { page.prefix === 'auth' && <AuthPage /> }
+        { page.prefix === 'notifications' && <NotificationsPage /> }
       </div>
     </SnackbarProvider>
   );
-- 
cgit v1.2.3

