15c760f7ea
We use `children: any` in a bunch of places, but the proper type for these is `ReactNode`. This diff fixes those. ### Change Type - [x] `patch` — Bug fix
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
'use client'
|
|
|
|
import { ThemeProvider } from 'next-themes'
|
|
import { ReactNode } from 'react'
|
|
|
|
export function Providers({ children }: { children: ReactNode }) {
|
|
return <ThemeProvider enableSystem>{children}</ThemeProvider>
|
|
}
|