mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
refactor: standardize navigation behavior by applying replace: true to authentication and activation flows
This commit is contained in:
@@ -59,7 +59,7 @@ export default function Login() {
|
||||
// store the auth related data
|
||||
await setAuthStore(authData.access, userData, masterKey);
|
||||
|
||||
navigate(ROUTES.DRAWER);
|
||||
navigate(ROUTES.DRAWER, { replace: true });
|
||||
} catch (err) {
|
||||
let message =
|
||||
"Sorry, we're experiencing technical issues.\nPlease try again later.";
|
||||
|
||||
Reference in New Issue
Block a user