chore(demo): fix deployement

This commit is contained in:
Bereket Engida
2025-08-10 23:54:49 -07:00
parent 6675691efe
commit 909a0595ca

View File

@@ -1,7 +1,12 @@
"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes";
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
export function ThemeProvider({
children,
...props
}: {
children: React.ReactNode;
[key: string]: any;
}) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}