Skip to content

Commit

Permalink
fix(dependencies): bumped material to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jan 5, 2020
1 parent c1e64e9 commit 509fa88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/organisms/layout/presentational.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import {bool, func, node, shape, string} from 'prop-types';
import {CssBaseline, MuiThemeProvider, withStyles} from '@material-ui/core';
import {CssBaseline, withStyles} from '@material-ui/core';
import {ThemeProvider} from '@material-ui/styles';
import classNames from 'classnames';
import Header from '../../molecules/header';
import NavigationDrawer from '../../molecules/navigation';
Expand Down Expand Up @@ -30,7 +31,7 @@ function styles(theme) {

export function Layout({children, navigationOpen, onNavigationDrawerToggle, classes}) {
return (
<MuiThemeProvider theme={createTheme()} sheetsManager={new Map()}>
<ThemeProvider theme={createTheme()}>
<CssBaseline />
<div css={{display: 'flex'}}>
<Header navigationOpen={navigationOpen} onNavigationDrawerToggle={onNavigationDrawerToggle} />
Expand All @@ -40,7 +41,7 @@ export function Layout({children, navigationOpen, onNavigationDrawerToggle, clas
{children}
</main>
</div>
</MuiThemeProvider>
</ThemeProvider>
);
}

Expand Down

0 comments on commit 509fa88

Please sign in to comment.