diff options
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r-- | vnext/src/index.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vnext/src/index.js b/vnext/src/index.js index 0037c2a5..c9b9373a 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -1,6 +1,7 @@ import React, { lazy, Suspense } from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom'; +import { CookiesProvider } from 'react-cookie'; import './index.css'; @@ -17,9 +18,11 @@ const Juick = lazy(() => import('./App')); const JuickApp = () => ( <React.StrictMode> <Suspense fallback={LoadingView()}> - <BrowserRouter> - <Juick /> - </BrowserRouter> + <CookiesProvider> + <BrowserRouter> + <Juick /> + </BrowserRouter> + </CookiesProvider> </Suspense> </React.StrictMode> ); |