From d739bfe55264648dc0248f239f7d0035f0717937 Mon Sep 17 00:00:00 2001 From: KishiTheMechanic Date: Sat, 28 Dec 2024 06:23:52 +0100 Subject: [PATCH] fix theme type --- src/components/providers/ThemeProvider.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/providers/ThemeProvider.tsx b/src/components/providers/ThemeProvider.tsx index d4b4bbf..cb2c36c 100644 --- a/src/components/providers/ThemeProvider.tsx +++ b/src/components/providers/ThemeProvider.tsx @@ -1,8 +1,10 @@ 'use client' import * as React from 'react' -import { ThemeProvider as NextThemesProvider } from 'next-themes' -import { type ThemeProviderProps } from 'next-themes/dist/types' +import { + ThemeProvider as NextThemesProvider, + type ThemeProviderProps +} from 'next-themes' export function ThemeProvider({ children, ...props }: ThemeProviderProps) { return {children}