summaryrefslogtreecommitdiff
path: root/front/src/index.tsx
diff options
context:
space:
mode:
authorphyscik <mynameisgennadiy@vk.com>2026-04-28 23:33:59 +0500
committerphyscik <mynameisgennadiy@vk.com>2026-04-28 23:33:59 +0500
commit533c04d9558bd0a575671c157ca42236f59a2c5a (patch)
tree895ec8672f9633fd6cfef85f6a12921fc5339ab3 /front/src/index.tsx
parentec5ef35ed47b90b9f09199d28f7885f8287815a8 (diff)
frontend auth
Diffstat (limited to 'front/src/index.tsx')
-rw-r--r--front/src/index.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/front/src/index.tsx b/front/src/index.tsx
index 032464f..33c9e94 100644
--- a/front/src/index.tsx
+++ b/front/src/index.tsx
@@ -3,14 +3,18 @@ import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
+import { CookiesProvider } from 'react-cookie';
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
+
root.render(
- <React.StrictMode>
- <App />
- </React.StrictMode>
+ <CookiesProvider>
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>
+ </CookiesProvider>
);
// If you want to start measuring performance in your app, pass a function