fix redirect logic
This commit is contained in:
parent
3aad1a9803
commit
005c3926bb
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ export default function Credentials({
|
|||
}
|
||||
const redirectURL = InMemoryStore.get(MS_KEYS.REDIRECT_URL);
|
||||
InMemoryStore.delete(MS_KEYS.REDIRECT_URL);
|
||||
router.push(APP_HOMES.get(redirectURL ?? appName));
|
||||
router.push(redirectURL ?? APP_HOMES.get(appName));
|
||||
} catch (e) {
|
||||
logError(e, 'useMasterPassword failed');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue