From 1263c29b83b1e2f437d3202e2e3f8965be1378a0 Mon Sep 17 00:00:00 2001 From: Ishaan Gupta Date: Wed, 29 Jul 2026 17:49:54 +0530 Subject: [PATCH] Fix OAuth upgrade sync manual retry --- apps/web/app/auth/connect/page.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/app/auth/connect/page.tsx b/apps/web/app/auth/connect/page.tsx index 2989ee5e..2e9e4bfc 100644 --- a/apps/web/app/auth/connect/page.tsx +++ b/apps/web/app/auth/connect/page.tsx @@ -522,7 +522,13 @@ function AuthConnectContent() { upgradeSyncStartedAt.current = Date.now() setError(null) setStatus("loading") - void autumn.refetch?.() + void (async () => { + try { + await autumn.refetch?.() + } finally { + void handleConnectRef.current?.() + } + })() }, [autumn]) useEffect(() => {