We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38a6cbf commit 4992a33Copy full SHA for 4992a33
src/components/theme-provider.tsx
@@ -1,8 +1,10 @@
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,
6
+ type ThemeProviderProps,
7
+} from "next-themes";
8
9
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
10
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
0 commit comments