fix: preserve search params when clearing OAuth callback hash
This commit is contained in:
@@ -20,7 +20,7 @@ const initializeAuth = async () => {
|
||||
handle.value = resolvedHandle
|
||||
await saveSession(session.did, resolvedHandle)
|
||||
|
||||
window.history.replaceState(null, '', window.location.pathname)
|
||||
window.history.replaceState(null, '', window.location.pathname + window.location.search)
|
||||
} else {
|
||||
const stored = await loadSession()
|
||||
did.value = stored?.did ?? ''
|
||||
|
||||
Reference in New Issue
Block a user