aboutsummaryrefslogtreecommitdiff
path: root/modern/src/MainPage.js
diff options
context:
space:
mode:
authorditoaugusta <dt_ap@ymail.com>2020-03-28 02:38:14 +0700
committerditoaugusta <dt_ap@ymail.com>2020-03-28 02:38:14 +0700
commit84da0d600ce4b048615b7e6a502c4feea9902eed (patch)
tree090c13739d1b64e23ea2e8d68f7e762c88c77447 /modern/src/MainPage.js
parent8f74f238634f4779b0ada63b52b10a030d352899 (diff)
downloadtrackermap-web-84da0d600ce4b048615b7e6a502c4feea9902eed.tar.gz
trackermap-web-84da0d600ce4b048615b7e6a502c4feea9902eed.tar.bz2
trackermap-web-84da0d600ce4b048615b7e6a502c4feea9902eed.zip
fix: jsx lines
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r--modern/src/MainPage.js38
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;