We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e300b2 commit df5d01bCopy full SHA for df5d01b
packages/kit/src/runtime/client/client.js
@@ -2505,7 +2505,9 @@ function _start_router() {
2505
if (history_index === current_history_index) return;
2506
2507
const scroll = scroll_positions[history_index];
2508
- const state = event.state[STATES_KEY] ? unstringify(event.state[STATES_KEY], app.hooks.transport) : {};
+ const state = event.state[STATES_KEY]
2509
+ ? unstringify(event.state[STATES_KEY], app.hooks.transport)
2510
+ : {};
2511
const url = new URL(event.state[PAGE_URL_KEY] ?? location.href);
2512
const navigation_index = event.state[NAVIGATION_INDEX];
2513
const is_hash_change = current.url ? strip_hash(location) === strip_hash(current.url) : false;
0 commit comments