MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / Providers

Function Providers

apps/baseai.dev/src/app/providers.tsx:33–46  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

31}
32
33export function Providers({ children }: { children: React.ReactNode }) {
34 const pathname = usePathname();
35 const website = FORCE_DARK_MODE_PAGES.includes(pathname);
36 return (
37 <ThemeProvider
38 attribute="class"
39 disableTransitionOnChange
40 forcedTheme={website ? 'dark' : undefined}
41 >
42 <ThemeWatcher />
43 {children}
44 </ThemeProvider>
45 );
46}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected