Remove RQ experimental (#60)

* Updated dependencies

* Remove RQ Experimental - unused and some customers report issues with it
This commit is contained in:
Giancarlo Buomprisco
2024-09-03 18:17:11 +08:00
committed by GitHub
parent 53302fba7e
commit b3b061fc2e
19 changed files with 239 additions and 221 deletions

View File

@@ -4,7 +4,6 @@ import { useMemo } from 'react';
import dynamic from 'next/dynamic';
import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental';
import { ThemeProvider } from 'next-themes';
import { CaptchaProvider } from '@kit/auth/captcha/client';
@@ -53,29 +52,27 @@ export function RootProviders({
<AppEventsProvider>
<AnalyticsProvider>
<ReactQueryProvider>
<ReactQueryStreamedHydration>
<I18nProvider settings={i18nSettings} resolver={i18nResolver}>
<CaptchaProvider>
<CaptchaTokenSetter siteKey={captchaSiteKey} />
<I18nProvider settings={i18nSettings} resolver={i18nResolver}>
<CaptchaProvider>
<CaptchaTokenSetter siteKey={captchaSiteKey} />
<AuthProvider>
<ThemeProvider
attribute="class"
enableSystem
disableTransitionOnChange
defaultTheme={theme}
enableColorScheme={false}
>
{children}
</ThemeProvider>
</AuthProvider>
</CaptchaProvider>
<AuthProvider>
<ThemeProvider
attribute="class"
enableSystem
disableTransitionOnChange
defaultTheme={theme}
enableColorScheme={false}
>
{children}
</ThemeProvider>
</AuthProvider>
</CaptchaProvider>
<If condition={featuresFlagConfig.enableVersionUpdater}>
<VersionUpdater />
</If>
</I18nProvider>
</ReactQueryStreamedHydration>
<If condition={featuresFlagConfig.enableVersionUpdater}>
<VersionUpdater />
</If>
</I18nProvider>
</ReactQueryProvider>
</AnalyticsProvider>
</AppEventsProvider>

View File

@@ -57,10 +57,9 @@
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.45.3",
"@tanstack/react-query": "5.52.2",
"@tanstack/react-query-next-experimental": "^5.53.1",
"@tanstack/react-table": "^8.20.5",
"date-fns": "^3.6.0",
"lucide-react": "^0.437.0",
"lucide-react": "^0.438.0",
"next": "14.2.7",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",
@@ -80,7 +79,7 @@
"@kit/tsconfig": "workspace:^",
"@next/bundle-analyzer": "14.2.7",
"@types/mdx": "^2.0.13",
"@types/node": "^22.5.1",
"@types/node": "^22.5.2",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",