Skip to content

Commit fa18dc5

Browse files
authored
docs: fix typo in example (#9107)
1 parent 29ee93c commit fa18dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ export interface KitConfig {
534534
*
535535
* beforeNavigate(({ willUnload, to }) => {
536536
* if ($updated && !willUnload && to?.url) {
537-
* location.href = to.route.url.href;
537+
* location.href = to.url.href;
538538
* }
539539
* });
540540
* </script>

0 commit comments

Comments
 (0)