chore: Add React.StrictMode

closes #2177
This commit is contained in:
Tom Moor 2021-06-05 14:59:14 -07:00
parent a19ac6aa5f
commit f517a2cecb
1 changed files with 19 additions and 17 deletions

View File

@ -51,6 +51,7 @@ if ("serviceWorker" in window.navigator) {
if (element) {
const App = () => (
<React.StrictMode>
<Provider {...stores}>
<Analytics>
<Theme>
@ -68,6 +69,7 @@ if (element) {
</Theme>
</Analytics>
</Provider>
</React.StrictMode>
);
render(<App />, element);