aboutsummaryrefslogtreecommitdiff
path: root/src/containers/Page
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-08-12 01:59:27 +0300
committereug-vs <eug-vs@keemail.me>2020-08-13 17:16:17 +0300
commit5744923265ff51e392575edfd6a8182589105dc6 (patch)
tree9294f30455405ddaecfdd4ecf7eedf6c5c80c872 /src/containers/Page
parent86a946b2b0535829857757eeaa2226e6f0814f3b (diff)
downloadwhich-ui-5744923265ff51e392575edfd6a8182589105dc6.tar.gz
feat: PollCreation page and Fab component
Diffstat (limited to 'src/containers/Page')
-rw-r--r--src/containers/Page/Page.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/Page/Page.tsx b/src/containers/Page/Page.tsx
index d1171e6..19cf6aa 100644
--- a/src/containers/Page/Page.tsx
+++ b/src/containers/Page/Page.tsx
@@ -11,6 +11,7 @@ const Login = React.lazy(() => import('../Login/Login'));
const Registration = React.lazy(() => import('../Registration/Registration'));
const Home = React.lazy(() => import('../Home/Home'));
const Notifications = React.lazy(() => import('../Notifications/Notifications'));
+const PollCreation = React.lazy(() => import('../PollCreation/PollCreation'));
const useStyles = makeStyles(theme => ({
@@ -47,6 +48,7 @@ const Page: React.FC = () => {
<Route exact path="/registration" component={Registration} />
<Route exact path="/feed" component={Feed} />
<Route exact path="/notifications" component={Notifications} />
+ <Route exact path="/new" component={PollCreation} />
<Route path="/profile/:username" component={Profile} />
</Switch>
</Suspense>