Skip to content

Commit

Permalink
Commented out StrictMode
Browse files Browse the repository at this point in the history
Commented out StrictMode due to warnings in material-ui created from page dropdown in the table.
See mui/material-ui#18018 and mui/material-ui#20012
  • Loading branch information
richardbristow committed Jul 23, 2020
1 parent f9f7235 commit 8195487
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ const darkTheme = createMuiTheme({
});

ReactDOM.render(
<React.StrictMode>
<ThemeProvider theme={darkTheme}>
<CssBaseline />
<App />
</ThemeProvider>
</React.StrictMode>,
// Commented out StrictMode due to warnings created from page dropdown in the table.
// See https://github.com/mui-org/material-ui/issues/18018 and https://github.com/mui-org/material-ui/issues/20012

// <React.StrictMode>
<ThemeProvider theme={darkTheme}>
<CssBaseline />
<App />
</ThemeProvider>,
// </React.StrictMode>,
document.getElementById('root'),
);

Expand Down

0 comments on commit 8195487

Please sign in to comment.