Skip to content

Commit

Permalink
docs: fix typo in example (#9107)
Browse files Browse the repository at this point in the history
  • Loading branch information
janvotava authored Feb 18, 2023
1 parent 29ee93c commit fa18dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export interface KitConfig {
*
* beforeNavigate(({ willUnload, to }) => {
* if ($updated && !willUnload && to?.url) {
* location.href = to.route.url.href;
* location.href = to.url.href;
* }
* });
* </script>
Expand Down

0 comments on commit fa18dc5

Please sign in to comment.