Skip to content

Commit 6f01e13

Browse files
committed
format
1 parent ddb133d commit 6f01e13

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

packages/kit/src/runtime/client/client.js

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -980,16 +980,22 @@ export function create_client({ target, session, base, trailing_slash }) {
980980
});
981981
}
982982

983-
await update(normalized, redirect_chain, false, {
984-
scroll,
985-
keepfocus,
986-
details
987-
}, () => {
988-
const navigation = { from, to: normalized };
989-
callbacks.after_navigate.forEach((fn) => fn(navigation));
983+
await update(
984+
normalized,
985+
redirect_chain,
986+
false,
987+
{
988+
scroll,
989+
keepfocus,
990+
details
991+
},
992+
() => {
993+
const navigation = { from, to: normalized };
994+
callbacks.after_navigate.forEach((fn) => fn(navigation));
990995

991-
stores.navigating.set(null);
992-
});
996+
stores.navigating.set(null);
997+
}
998+
);
993999
}
9941000

9951001
/**

0 commit comments

Comments
 (0)