mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update theme-provider.tsx
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import {
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
||||||
ThemeProvider as NextThemesProvider,
|
|
||||||
type ThemeProviderProps,
|
|
||||||
} from 'next-themes'
|
|
||||||
|
|
||||||
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
||||||
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user