Skip to content

Commit 73c9389

Browse files
fix type
1 parent 3e8d990 commit 73c9389

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/providers/ThemeProvider.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
'use client'
22

33
import * as React from 'react'
4-
import { ThemeProvider as NextThemesProvider } from 'next-themes'
5-
import { type ThemeProviderProps } from 'next-themes/dist/types'
4+
import {
5+
ThemeProvider as NextThemesProvider,
6+
type ThemeProviderProps
7+
} from 'next-themes'
68

79
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
810
return <NextThemesProvider {...props}>{children}</NextThemesProvider>

0 commit comments

Comments
 (0)