Skip to content

Commit

Permalink
avoid React.StrictMode warning in dev-mode (from MUI)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanibus committed Jun 24, 2021
1 parent 4f4b424 commit 0e8a6db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/App.js
Expand Up @@ -2,11 +2,12 @@ import CssBaseline from '@material-ui/core/CssBaseline';
import Container from '@material-ui/core/Container';
import Header from './components/Header';
import List from './components/List';
import { ThemeProvider, createMuiTheme } from '@material-ui/core/styles';
import { ThemeProvider, unstable_createMuiStrictModeTheme } from '@material-ui/core/styles';

import './App.css';


const evTheme = createMuiTheme({
const evTheme = unstable_createMuiStrictModeTheme({
overrides: {
MuiCardHeader: {
root: {
Expand Down

0 comments on commit 0e8a6db

Please sign in to comment.