|
|
@ -181,10 +181,18 @@ class App extends React.PureComponent {
|
|
|
|
|
|
|
|
|
|
|
|
const fetching = this.props.fetchCount > 0;
|
|
|
|
const fetching = this.props.fetchCount > 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const styles = {
|
|
|
|
|
|
|
|
main: {
|
|
|
|
|
|
|
|
backgroundColor: muiTheme.palette.background.default,
|
|
|
|
|
|
|
|
color: muiTheme.palette.text.primary,
|
|
|
|
|
|
|
|
flexGrow: 1
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<ThemeProvider theme={muiTheme}>
|
|
|
|
<ThemeProvider theme={muiTheme}>
|
|
|
|
<BrowserRouter>
|
|
|
|
<BrowserRouter>
|
|
|
|
<div style={{backgroundColor: muiTheme.palette.background.default, color: muiTheme.palette.text.primary}}>
|
|
|
|
<div style={styles.main}>
|
|
|
|
<AppBarWitHistory
|
|
|
|
<AppBarWitHistory
|
|
|
|
toggleDrawerIcon={<IconButton onClick={this.toggleDrawer}><NavigationMenu /></IconButton>}
|
|
|
|
toggleDrawerIcon={<IconButton onClick={this.toggleDrawer}><NavigationMenu /></IconButton>}
|
|
|
|
iconElementRight={
|
|
|
|
iconElementRight={
|
|
|
|