aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/App.js')
-rw-r--r--webui/src/App.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/webui/src/App.js b/webui/src/App.js
index 47a31e45..3a693dcb 100644
--- a/webui/src/App.js
+++ b/webui/src/App.js
@@ -1,25 +1,25 @@
-import AppBar from '@material-ui/core/AppBar'
-import CssBaseline from '@material-ui/core/CssBaseline'
-import { withStyles } from '@material-ui/core/styles'
-import Toolbar from '@material-ui/core/Toolbar'
-import Typography from '@material-ui/core/Typography'
-import React from 'react'
-import { Route, Switch, withRouter } from 'react-router'
-import { Link } from 'react-router-dom'
+import AppBar from '@material-ui/core/AppBar';
+import CssBaseline from '@material-ui/core/CssBaseline';
+import { withStyles } from '@material-ui/core/styles';
+import Toolbar from '@material-ui/core/Toolbar';
+import Typography from '@material-ui/core/Typography';
+import React from 'react';
+import { Route, Switch, withRouter } from 'react-router';
+import { Link } from 'react-router-dom';
-import BugQuery from './bug/BugQuery'
-import ListQuery from './list/ListQuery'
+import BugQuery from './bug/BugQuery';
+import ListQuery from './list/ListQuery';
const styles = theme => ({
appTitle: {
color: 'white',
- textDecoration: 'none'
- }
-})
+ textDecoration: 'none',
+ },
+});
-const App = ({location, classes}) => (
+const App = ({ location, classes }) => (
<React.Fragment>
- <CssBaseline/>
+ <CssBaseline />
<AppBar position="static" color="primary">
<Toolbar>
<Link to="/" className={classes.appTitle}>
@@ -30,10 +30,10 @@ const App = ({location, classes}) => (
</Toolbar>
</AppBar>
<Switch>
- <Route path="/" exact component={ListQuery}/>
- <Route path="/bug/:id" exact component={BugQuery}/>
+ <Route path="/" exact component={ListQuery} />
+ <Route path="/bug/:id" exact component={BugQuery} />
</Switch>
</React.Fragment>
-)
+);
-export default withStyles(styles)(withRouter(App))
+export default withStyles(styles)(withRouter(App));