mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-07 02:58:11 +00:00
Fix OAuth upgrade sync manual retry
This commit is contained in:
parent
fbc8cf28d6
commit
1263c29b83
1 changed files with 7 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue