From a7a93e150729f2ba756d3ba7f8e2ebb1394a61f7 Mon Sep 17 00:00:00 2001
From: MacRimi <123239993+MacRimi@users.noreply.github.com>
Date: Thu, 13 Feb 2025 20:53:34 +0100
Subject: [PATCH] Update theme-provider.tsx
---
web/app/components/theme-provider.tsx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/app/components/theme-provider.tsx b/web/app/components/theme-provider.tsx
index f63d0ad..066918a 100644
--- a/web/app/components/theme-provider.tsx
+++ b/web/app/components/theme-provider.tsx
@@ -1,8 +1,7 @@
'use client'
-import * as React from 'react'
import { ThemeProvider as NextThemesProvider } from "next-themes";
-export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
- return {children}
+export function ThemeProvider({ children }: { children: React.ReactNode }) {
+ return {children};
}