fix: next-themes error

This commit is contained in:
2024-12-14 13:04:05 +01:00
parent 0bf480ef71
commit 61bc2d10d7

View File

@@ -2,7 +2,7 @@
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>