Commit 575fb20
committed
fix(account): clear route cache after restoration to prevent unintended redirects
Previously, the stored route in sessionStorage was only cleared when invalid.
This caused users to be unexpectedly redirected to a previously cached route
when manually navigating to the account center homepage.1 parent 24f48bf commit 575fb20
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
119 | | - | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
0 commit comments