diff --git a/src/components/ThemeProvider.tsx b/src/components/ThemeProvider.tsx index 41b170e..4ec0be5 100644 --- a/src/components/ThemeProvider.tsx +++ b/src/components/ThemeProvider.tsx @@ -1,9 +1,18 @@ 'use client'; +import type { ThemeProviderProps } from 'next-themes'; import { ThemeProvider as NextThemesProvider } from 'next-themes'; -import type { ThemeProviderProps } from 'next-themes/dist/types'; import * as React from 'react'; export function ThemeProvider({ children, ...props }: ThemeProviderProps) { - return {children}; + return ( + + {children} + + ); }