From f40dcb2538a78f8c9a466fc6f60951453d08299c Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Fri, 5 Dec 2025 23:16:43 +0100 Subject: [PATCH] Fix: Import ThemeProviderProps from next-themes root --- components/ThemeProvider.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ThemeProvider.tsx b/components/ThemeProvider.tsx index b0ff266..3bc117a 100644 --- a/components/ThemeProvider.tsx +++ b/components/ThemeProvider.tsx @@ -1,8 +1,7 @@ "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};