diff options
-rw-r--r-- | src/containers/FeedPage/FeedPage.tsx (renamed from src/pages/FeedPage/FeedPage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/FeedPage/PollSubmission.tsx (renamed from src/pages/FeedPage/PollSubmission.tsx) | 0 | ||||
-rw-r--r-- | src/containers/FeedPage/PollSubmissionImage.tsx (renamed from src/pages/FeedPage/PollSubmissionImage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/FeedPage/types.ts (renamed from src/pages/FeedPage/types.ts) | 0 | ||||
-rw-r--r-- | src/containers/HomePage/HomePage.tsx (renamed from src/pages/HomePage/HomePage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/HomePage/ReviewForm.tsx (renamed from src/pages/HomePage/ReviewForm.tsx) | 0 | ||||
-rw-r--r-- | src/containers/LoginPage/LoginPage.tsx (renamed from src/pages/LoginPage/LoginPage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/NotificationsPage/NotificationsPage.tsx (renamed from src/pages/NotificationsPage/NotificationsPage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/Page/Page.tsx (renamed from src/pages/Page.tsx) | 16 | ||||
-rw-r--r-- | src/containers/ProfilePage/Highlight.tsx (renamed from src/pages/ProfilePage/Highlight.tsx) | 0 | ||||
-rw-r--r-- | src/containers/ProfilePage/MoreMenu.tsx (renamed from src/pages/ProfilePage/MoreMenu.tsx) | 0 | ||||
-rw-r--r-- | src/containers/ProfilePage/ProfileInfo.tsx (renamed from src/pages/ProfilePage/ProfileInfo.tsx) | 0 | ||||
-rw-r--r-- | src/containers/ProfilePage/ProfilePage.tsx (renamed from src/pages/ProfilePage/ProfilePage.tsx) | 0 | ||||
-rw-r--r-- | src/containers/RegistrationPage/RegistrationPage.tsx (renamed from src/pages/RegistrationPage/RegistrationPage.tsx) | 0 | ||||
-rw-r--r-- | src/index.tsx | 2 |
15 files changed, 9 insertions, 9 deletions
diff --git a/src/pages/FeedPage/FeedPage.tsx b/src/containers/FeedPage/FeedPage.tsx index da0fb2a..da0fb2a 100644 --- a/src/pages/FeedPage/FeedPage.tsx +++ b/src/containers/FeedPage/FeedPage.tsx diff --git a/src/pages/FeedPage/PollSubmission.tsx b/src/containers/FeedPage/PollSubmission.tsx index 347eecc..347eecc 100644 --- a/src/pages/FeedPage/PollSubmission.tsx +++ b/src/containers/FeedPage/PollSubmission.tsx diff --git a/src/pages/FeedPage/PollSubmissionImage.tsx b/src/containers/FeedPage/PollSubmissionImage.tsx index 8835989..8835989 100644 --- a/src/pages/FeedPage/PollSubmissionImage.tsx +++ b/src/containers/FeedPage/PollSubmissionImage.tsx diff --git a/src/pages/FeedPage/types.ts b/src/containers/FeedPage/types.ts index 24ace4e..24ace4e 100644 --- a/src/pages/FeedPage/types.ts +++ b/src/containers/FeedPage/types.ts diff --git a/src/pages/HomePage/HomePage.tsx b/src/containers/HomePage/HomePage.tsx index b1dc506..b1dc506 100644 --- a/src/pages/HomePage/HomePage.tsx +++ b/src/containers/HomePage/HomePage.tsx diff --git a/src/pages/HomePage/ReviewForm.tsx b/src/containers/HomePage/ReviewForm.tsx index b626ce2..b626ce2 100644 --- a/src/pages/HomePage/ReviewForm.tsx +++ b/src/containers/HomePage/ReviewForm.tsx diff --git a/src/pages/LoginPage/LoginPage.tsx b/src/containers/LoginPage/LoginPage.tsx index 335cbb1..335cbb1 100644 --- a/src/pages/LoginPage/LoginPage.tsx +++ b/src/containers/LoginPage/LoginPage.tsx diff --git a/src/pages/NotificationsPage/NotificationsPage.tsx b/src/containers/NotificationsPage/NotificationsPage.tsx index 064fbd4..064fbd4 100644 --- a/src/pages/NotificationsPage/NotificationsPage.tsx +++ b/src/containers/NotificationsPage/NotificationsPage.tsx diff --git a/src/pages/Page.tsx b/src/containers/Page/Page.tsx index a77a98e..8a39636 100644 --- a/src/pages/Page.tsx +++ b/src/containers/Page/Page.tsx @@ -3,14 +3,14 @@ import { makeStyles, useTheme } from '@material-ui/core/styles'; import { useMediaQuery } from '@material-ui/core'; import { SnackbarProvider } from 'notistack'; import { Switch, Route } from 'react-router-dom'; -import Loading from '../components/Loading/Loading'; - -const ProfilePage = React.lazy(() => import('./ProfilePage/ProfilePage')); -const FeedPage = React.lazy(() => import('./FeedPage/FeedPage')); -const LoginPage = React.lazy(() => import('./LoginPage/LoginPage')); -const RegistrationPage = React.lazy(() => import('./RegistrationPage/RegistrationPage')); -const HomePage = React.lazy(() => import('./HomePage/HomePage')); -const NotificationsPage = React.lazy(() => import('./NotificationsPage/NotificationsPage')); +import Loading from '../../components/Loading/Loading'; + +const ProfilePage = React.lazy(() => import('../ProfilePage/ProfilePage')); +const FeedPage = React.lazy(() => import('../FeedPage/FeedPage')); +const LoginPage = React.lazy(() => import('../LoginPage/LoginPage')); +const RegistrationPage = React.lazy(() => import('../RegistrationPage/RegistrationPage')); +const HomePage = React.lazy(() => import('../HomePage/HomePage')); +const NotificationsPage = React.lazy(() => import('../NotificationsPage/NotificationsPage')); const useStyles = makeStyles(theme => ({ diff --git a/src/pages/ProfilePage/Highlight.tsx b/src/containers/ProfilePage/Highlight.tsx index ebc3f56..ebc3f56 100644 --- a/src/pages/ProfilePage/Highlight.tsx +++ b/src/containers/ProfilePage/Highlight.tsx diff --git a/src/pages/ProfilePage/MoreMenu.tsx b/src/containers/ProfilePage/MoreMenu.tsx index 1f41879..1f41879 100644 --- a/src/pages/ProfilePage/MoreMenu.tsx +++ b/src/containers/ProfilePage/MoreMenu.tsx diff --git a/src/pages/ProfilePage/ProfileInfo.tsx b/src/containers/ProfilePage/ProfileInfo.tsx index 9eee4c1..9eee4c1 100644 --- a/src/pages/ProfilePage/ProfileInfo.tsx +++ b/src/containers/ProfilePage/ProfileInfo.tsx diff --git a/src/pages/ProfilePage/ProfilePage.tsx b/src/containers/ProfilePage/ProfilePage.tsx index db27d25..db27d25 100644 --- a/src/pages/ProfilePage/ProfilePage.tsx +++ b/src/containers/ProfilePage/ProfilePage.tsx diff --git a/src/pages/RegistrationPage/RegistrationPage.tsx b/src/containers/RegistrationPage/RegistrationPage.tsx index 18a9379..18a9379 100644 --- a/src/pages/RegistrationPage/RegistrationPage.tsx +++ b/src/containers/RegistrationPage/RegistrationPage.tsx diff --git a/src/index.tsx b/src/index.tsx index 64b1760..8eb2506 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -8,7 +8,7 @@ import 'typeface-roboto'; import Header from './components/Header/Header'; import ScrollTopArrow from './components/ScrollTopArrow/ScrollTopArrow'; -import Page from './pages/Page'; +import Page from './containers/Page/Page'; import { AuthProvider } from './hooks/useAuth'; |