| 1 | import { ClerkProvider } from "@clerk/react"; |
| 2 | import type { ReactNode } from "react"; |
| 3 | |
| 4 | import { clerkAppearance } from "./clerkAppearance"; |
| 5 | |
| 6 | export default function BrowserManagedAuthShell({ |
| 7 | publishableKey, |
| 8 | children, |
| 9 | }: { |
| 10 | readonly publishableKey: string; |
| 11 | readonly children: ReactNode; |
| 12 | }) { |
| 13 | return ( |
| 14 | <ClerkProvider telemetry={false} appearance={clerkAppearance} publishableKey={publishableKey}> |
| 15 | {children} |
| 16 | </ClerkProvider> |
| 17 | ); |
| 18 | } |