diff options
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r-- | modern/src/MainPage.js | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js index f6dd7fea..43625691 100644 --- a/modern/src/MainPage.js +++ b/modern/src/MainPage.js @@ -53,26 +53,28 @@ const MainPage = () => { }); }, [history]); - return (loading ? (<div>Loading...</div>) : (<div className={classes.root}> - <SocketController /> - <MainToobar /> - <div className={classes.content}> - { /* <Drawer - anchor={isWidthUp('sm', this.props.width) ? "left" : "bottom"} NOTE: What's this do? - variant="permanent" - classes={{ paper: classes.drawerPaper }}> */} - <Drawer - variant="permanent" - classes={{ paper: classes.drawerPaper }}> - <DeviceList /> - </Drawer> - <div className={classes.mapContainer}> - <ContainerDimensions> - <MainMap /> - </ContainerDimensions> + return loading ? (<div>Loading...</div>) : ( + <div className={classes.root}> + <SocketController /> + <MainToobar /> + <div className={classes.content}> + {/* <Drawer + anchor={isWidthUp('sm', this.props.width) ? "left" : "bottom"} NOTE: What's this do? + variant="permanent" + classes={{ paper: classes.drawerPaper }}> */} + <Drawer + variant="permanent" + classes={{ paper: classes.drawerPaper }}> + <DeviceList /> + </Drawer> + <div className={classes.mapContainer}> + <ContainerDimensions> + <MainMap /> + </ContainerDimensions> + </div> </div> </div> - </div>)); + ); } export default MainPage; |