Skip to content

Commit

Permalink
tsx file update
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed May 13, 2021
1 parent 4d7f478 commit 0a1de9b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/src/pages/premium-themes/paperbase/Paperbase.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import * as React from 'react';
import {
createTheme,
ThemeProvider,
withStyles,
WithStyles,
} from '@material-ui/core/styles';
import { createTheme, ThemeProvider } from '@material-ui/core/styles';
import { withStyles, WithStyles } from '@material-ui/styles';
import useMediaQuery from '@material-ui/core/useMediaQuery';
import CssBaseline from '@material-ui/core/CssBaseline';
import Typography from '@material-ui/core/Typography';
Expand Down Expand Up @@ -229,4 +225,4 @@ function Paperbase(props: PaperbaseProps) {
);
}

export default withStyles(styles)(Paperbase);
export default withStyles(styles, { defaultTheme: theme })(Paperbase);

0 comments on commit 0a1de9b

Please sign in to comment.