Frontend/src/app/components/theme-provider.tsx
Liam f00d6d8ba4
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 56s
add motd to the server page
2024-04-16 21:18:08 +01:00

9 lines
321 B
TypeScript

"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes/dist/types";
export default function ThemeProvider({ children, ...props }: ThemeProviderProps): JSX.Element {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}