diff --git a/frontend/components/ui/theme-provider.tsx b/frontend/components/ui/theme-provider.tsx index 19dfaa9..6a1ffe4 100644 --- a/frontend/components/ui/theme-provider.tsx +++ b/frontend/components/ui/theme-provider.tsx @@ -1,8 +1,11 @@ "use client" +import * as React from "react" import { ThemeProvider as NextThemesProvider } from "next-themes" -import { type ThemeProviderProps } from "next-themes/dist/types" -export function ThemeProvider({ children, ...props }: ThemeProviderProps) { +export function ThemeProvider({ + children, + ...props +}: React.ComponentProps) { return {children} }