| 1234567891011121314151617 |
- "use client";
- /**
- * ThemeProvider
- *
- * Thin wrapper around next-themes ThemeProvider.
- *
- * Why we keep it:
- * - Centralizes the ThemeProvider import and keeps app/layout clean.
- * - Allows future extensions (e.g. default theme policy, logging) in one place.
- */
- import { ThemeProvider as NextThemesProvider } from "next-themes";
- export function ThemeProvider({ children, ...props }) {
- return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
- }
|