diff options
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r-- | vnext/src/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index c9b9373a..cdb592e8 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -1,4 +1,4 @@ -import React, { lazy, Suspense } from 'react'; +import { StrictMode, lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; import { CookiesProvider } from 'react-cookie'; @@ -16,7 +16,7 @@ function LoadingView() { const Juick = lazy(() => import('./App')); const JuickApp = () => ( - <React.StrictMode> + <StrictMode> <Suspense fallback={LoadingView()}> <CookiesProvider> <BrowserRouter> @@ -24,7 +24,7 @@ const JuickApp = () => ( </BrowserRouter> </CookiesProvider> </Suspense> - </React.StrictMode> + </StrictMode> ); ReactDOM.hydrate(<JuickApp />, document.getElementById('app')); |