Commit 931b8d6
fix: update history only after partials apply successfully
Move maybeUpdateHistory() after applyPartials() so that when a
redirect falls back to full navigation, we don't leave a duplicate
history entry that requires pressing back twice.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 80aa980 commit 931b8d6
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
| |||
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
0 commit comments