|
@@ -9,11 +9,11 @@ class AppFullscreenManager extends React.Component {
|
9
|
9
|
constructor (props) {
|
10
|
10
|
super(props)
|
11
|
11
|
this.state = {
|
12
|
|
- AmIMounted: false
|
|
12
|
+ isMounted: false
|
13
|
13
|
}
|
14
|
14
|
}
|
15
|
15
|
|
16
|
|
- componentDidMount = () => this.setState({AmIMounted: true})
|
|
16
|
+ componentDidMount = () => this.setState({isMounted: true})
|
17
|
17
|
|
18
|
18
|
render () {
|
19
|
19
|
const { props } = this
|
|
@@ -22,7 +22,7 @@ class AppFullscreenManager extends React.Component {
|
22
|
22
|
<div className='AppFullScreenManager'>
|
23
|
23
|
<div id='appFullscreenContainer' />
|
24
|
24
|
|
25
|
|
- {this.state.AmIMounted && (// we must wait for the component to be fully mounted to be sure the div#appFullscreenContainer exists in DOM
|
|
25
|
+ {this.state.isMounted && (// we must wait for the component to be fully mounted to be sure the div#appFullscreenContainer exists in DOM
|
26
|
26
|
<div className='emptyDiForRoute'>
|
27
|
27
|
<Route path={PAGE.ADMIN.WORKSPACE} render={() => {
|
28
|
28
|
props.renderAppFullscreen({slug: 'admin_workspace_user', hexcolor: '#7d4e24', type: 'workspace'}, props.user, {})
|