Commit 6ff14b6
committed
fix(payments): Fix sign-out navigation showing blank
Because:
- Sign-out was using client-side navigation via `router.replace()` after calling
`signOut()` with `redirect: false`, which failed to properly re-render the new
page in staging, showing users a blank screen
This commit:
- Lets next-auth handle the redirect automatically for proper page reload and
session state cleanup
Closes #PAY-36391 parent 9108677 commit 6ff14b6
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
389 | 387 | | |
390 | 388 | | |
391 | 389 | | |
392 | | - | |
393 | | - | |
394 | | - | |
| 390 | + | |
| 391 | + | |
395 | 392 | | |
396 | 393 | | |
397 | 394 | | |
| |||
0 commit comments