♻️ refactor(privacy): update privacy policy

temporarily disable cookies
This commit is contained in:
2026-02-01 15:17:05 +01:00
parent 0c20f9e562
commit db93ff6e1d
5 changed files with 62 additions and 209 deletions
+4 -8
View File
@@ -5,10 +5,8 @@ import '@fontsource/medievalsharp' // Regular
import React from 'react'
import ReactDOM from 'react-dom/client'
import { AnalyticsProvider } from 'use-analytics'
import { ThemeProvider, CssBaseline } from '@mui/material'
import analytics from 'components/utils/analytics/index.js'
import theme from 'style/theme.js'
import App from './App.js'
import './index.css'
@@ -23,11 +21,9 @@ if (themeParam === 'light' || themeParam === 'dark' || themeParam === 'system')
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<AnalyticsProvider instance={analytics}>
<ThemeProvider theme={theme} defaultMode={mode}>
<CssBaseline />
<App />
</ThemeProvider>
</AnalyticsProvider>
<ThemeProvider theme={theme} defaultMode={mode}>
<CssBaseline />
<App />
</ThemeProvider>
</React.StrictMode>
)