refactor: standardize navigation behavior by applying replace: true to authentication and activation flows

This commit is contained in:
ramvignesh-b
2026-04-19 02:19:53 +05:30
parent 1c1b5ea14e
commit ec769818f5
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -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.";