Update theme-provider.tsx

This commit is contained in:
MacRimi
2025-02-13 20:53:34 +01:00
committed by GitHub
parent 4d0b249ff7
commit a7a93e1507

View File

@@ -1,8 +1,7 @@
'use client'
import * as React from 'react'
import { ThemeProvider as NextThemesProvider } from "next-themes";
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
export function ThemeProvider({ children }: { children: React.ReactNode }) {
return <NextThemesProvider>{children}</NextThemesProvider>;
}