aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/Page.tsx')
-rw-r--r--src/pages/Page.tsx12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/pages/Page.tsx b/src/pages/Page.tsx
index 62b6b61..85b351c 100644
--- a/src/pages/Page.tsx
+++ b/src/pages/Page.tsx
@@ -9,8 +9,8 @@ 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';
import PrivateRoute from './PrivateRoute';
+import urls from './urls';
const useStyles = makeStyles(theme => ({
@@ -25,17 +25,7 @@ const useStyles = makeStyles(theme => ({
}));
-const urls = {
- home: '/',
- login: '/login',
- registration: '/registration',
- profile: '/profile',
- feed: '/feed',
- notifications: '/notifications'
-};
-
const Page: React.FC = () => {
- const { page } = useNavigate();
const classes = useStyles();
const theme = useTheme();
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));