Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

disable transition on theme change (#1249)

Taranbeer singh3ba4f127bfef
diff --git a/apps/web/src/app/[locale]/providers.tsx b/apps/web/src/app/[locale]/providers.tsx
index 1f1fc760..0dd4ccd9 100644
--- a/apps/web/src/app/[locale]/providers.tsx
+++ b/apps/web/src/app/[locale]/providers.tsx
@@ -20,7 +20,7 @@ export function Providers({ children }: Props) {
<QueryClientProvider client={queryClient}>
<ReactQueryDevtools initialIsOpen={false} buttonPosition="bottom-right" />
<SessionProvider>
- <ThemeProvider attribute="class">
+ <ThemeProvider attribute="class" disableTransitionOnChange>
<FeatureFlagProvider>
<TooltipProvider>{children}</TooltipProvider>
</FeatureFlagProvider>