aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/index.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-12 01:23:41 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commitccceb785b70eece5a8a9c7a34b44ce59eb159f21 (patch)
tree0b32c4ebe0a91bc967e8b91eba919962de5e3823 /vnext/src/index.js
parent884c5ca43f80dae6bcd5bd294d3e566dec87eb24 (diff)
react-cookies -> react-cookie + universal-cookie
Diffstat (limited to 'vnext/src/index.js')
-rw-r--r--vnext/src/index.js9
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>
);