@@ -2,9 +2,8 @@ import * as React from 'react';
2
2
import Footer from './components/Footer' ;
3
3
import Header from './components/Header' ;
4
4
import { observer } from 'mobx-react' ;
5
- import AppRouts from 'app/routes/routes' ;
5
+ import AppRoutes from 'app/routes/routes' ;
6
6
import { isAuthorized } from 'app/shared/auth/AuthUtils' ;
7
- import { Container , Row , Col , Modal , Button } from 'react-bootstrap' ;
8
7
import { Stores } from 'app/App' ;
9
8
import { Prompt , withRouter } from 'react-router' ;
10
9
import {
@@ -19,6 +18,7 @@ import { FeedbackModal } from './components/feedback/FeedbackModal';
19
18
import { FdaModal } from 'app/components/fdaModal/FdaModal' ;
20
19
import { Location } from 'history' ;
21
20
import autobind from 'autobind-decorator' ;
21
+ import PageContainer from 'app/components/PageContainer' ;
22
22
23
23
export type IMainPage = Stores ;
24
24
@@ -104,15 +104,16 @@ class Main extends React.Component<IMainPage> {
104
104
routing = { this . props . routing }
105
105
appStore = { this . props . appStore }
106
106
/>
107
- < div className = { 'view-wrapper' } >
108
- < Container fluid = { ! this . props . windowStore . isXLscreen } >
109
- < AppRouts
110
- authenticationStore = { this . props . authenticationStore }
111
- appStore = { this . props . appStore }
112
- routing = { this . props . routing }
113
- />
114
- </ Container >
115
- </ div >
107
+ < PageContainer
108
+ routing = { this . props . routing }
109
+ windowStore = { this . props . windowStore }
110
+ >
111
+ < AppRoutes
112
+ authenticationStore = { this . props . authenticationStore }
113
+ appStore = { this . props . appStore }
114
+ routing = { this . props . routing }
115
+ />
116
+ </ PageContainer >
116
117
< FeedbackModal
117
118
showModal = { this . props . appStore . showFeedbackFormModal }
118
119
feedback = { this . feedbackAnnotation }
0 commit comments