| ... | @@ -30,11 +30,6 @@ if (isElectron) { | ... | @@ -30,11 +30,6 @@ if (isElectron) { |
| 30 | | 30 | |
| 31 | const clerkPublishableKey = import.meta.env.VITE_CLERK_PUBLISHABLE_KEY as string | undefined; | 31 | const clerkPublishableKey = import.meta.env.VITE_CLERK_PUBLISHABLE_KEY as string | undefined; |
| 32 | | 32 | |
| 33 | // First Clerk UI build containing https://github.com/clerk/javascript/pull/9500. | | |
| 34 | const electronClerkUI = { | | |
| 35 | __internal_clerkUIVersion: "1.30.5-canary.v20260819050620", | | |
| 36 | }; | | |
| 37 | | | |
| 38 | const app = <AppRoot router={router} />; | 33 | const app = <AppRoot router={router} />; |
| 39 | | 34 | |
| 40 | ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( | 35 | ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( |
| ... | @@ -42,7 +37,6 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( | ... | @@ -42,7 +37,6 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( |
| 42 | {clerkPublishableKey && hasCloudPublicConfig() ? ( | 37 | {clerkPublishableKey && hasCloudPublicConfig() ? ( |
| 43 | isElectron ? ( | 38 | isElectron ? ( |
| 44 | <ElectronClerkProvider | 39 | <ElectronClerkProvider |
| 45 | {...electronClerkUI} | | |
| 46 | appearance={clerkAppearance} | 40 | appearance={clerkAppearance} |
| 47 | publishableKey={clerkPublishableKey} | 41 | publishableKey={clerkPublishableKey} |
| 48 | passkeys={passkeys} | 42 | passkeys={passkeys} |