fix: next-themes error

This commit is contained in:
2024-12-14 13:04:30 +01:00
committed by GitHub
parent a2acb12150
commit 155857c790

View File

@@ -2,8 +2,8 @@
import * as React from "react"
import { ThemeProvider as NextThemesProvider } from "next-themes"
import { type ThemeProviderProps } from "next-themes/dist/types"
import { type ThemeProviderProps } from "next-themes"
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
}
}