From 10e146ef0215d41527f0466b0e139a6805b96540 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 8 Aug 2020 09:33:45 +0300
Subject: refactor: remove urls file

---
 src/pages/Page.tsx | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

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

diff --git a/src/pages/Page.tsx b/src/pages/Page.tsx
index dd413bf..34a1046 100644
--- a/src/pages/Page.tsx
+++ b/src/pages/Page.tsx
@@ -11,7 +11,6 @@ import RegistrationPage from './RegistrationPage/RegistrationPage';
 import HomePage from './HomePage/HomePage';
 import NotificationsPage from './NotificationsPage/NotificationsPage';
 import Route from './Route';
-import urls from './urls';
 
 
 const useStyles = makeStyles(theme => ({
@@ -41,12 +40,12 @@ const Page: React.FC = () => {
     >
       <div className={classes.root}>
         <Switch>
-          <Route exact path={urls.home} component={HomePage} />
-          <Route exact path={urls.login} component={LoginPage} />
-          <Route exact path={urls.registration} component={RegistrationPage} />
-          <Route exact path={urls.feed} component={FeedPage} />
-          <Route exact path={urls.notifications} component={NotificationsPage} />
-          <Route path={urls.profile(':username')} component={ProfilePage} />
+          <Route exact path="/" component={HomePage} />
+          <Route exact path="/login" component={LoginPage} />
+          <Route exact path="/registration" component={RegistrationPage} />
+          <Route exact path="/feed" component={FeedPage} />
+          <Route exact path="/notifications" component={NotificationsPage} />
+          <Route path="/profile/:username" component={ProfilePage} />
         </Switch>
       </div>
     </SnackbarProvider>
-- 
cgit v1.2.3

