({ children }: { children: React.ReactNode })
| 18 | } |
| 19 | |
| 20 | export function Providers({ children }: { children: React.ReactNode }) { |
| 21 | const { showProBanner } = useProBannerStore() |
| 22 | |
| 23 | return ( |
| 24 | <ThemeProvider |
| 25 | attribute="class" |
| 26 | disableTransitionOnChange |
| 27 | defaultTheme="light" |
| 28 | > |
| 29 | <CSPostHogProvider> |
| 30 | {children} |
| 31 | {showProBanner && <SyntaxUIProBanner />} |
| 32 | </CSPostHogProvider> |
| 33 | </ThemeProvider> |
| 34 | ) |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected