From 82105c3a165e6f36d9a1c8baef2adea15ebb8bfc Mon Sep 17 00:00:00 2001 From: Deluan <deluan@navidrome.org> Date: Fri, 25 Jun 2021 14:08:00 -0400 Subject: [PATCH] Remove React.Strict mode --- ui/src/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/src/index.js b/ui/src/index.js index 56d0b4c38..ebbacb3ff 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -4,12 +4,7 @@ import './index.css' import App from './App' import * as serviceWorker from './serviceWorker' -ReactDOM.render( - <React.StrictMode> - <App /> - </React.StrictMode>, - document.getElementById('root') -) +ReactDOM.render(<App />, document.getElementById('root')) // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls.