We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cd3e50 commit 4b97da2Copy full SHA for 4b97da2
1 file changed
frontend/src/providers/ThemeProvider.tsx
@@ -1,8 +1,7 @@
1
'use client';
2
3
import * as React from 'react';
4
-import { ThemeProvider as NextThemesProvider } from 'next-themes';
5
-import type { ThemeProviderProps } from 'next-themes/dist/types';
+import { ThemeProvider as NextThemesProvider, type ThemeProviderProps } from 'next-themes';
6
7
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
8
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
0 commit comments