authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-08-25 21:04:35-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-25 21:04:35-07:00
logb0a0281269156295e2202d31198829bd3b500bdf
tree135642b6ddf689506617f713fe265954239a0b40
parent860caaa6023a3aaf616a5899816c74c195ca8de2
signature Signed by PGP key B5690EEEBB952194

fix(desktop): let Clerk UI receive stable auth fixes (#8248)


1 files changed, 0 insertions(+), 6 deletions(-)

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