Skip to content

Commit ff05c51

Browse files
fix: use navigateTo instead of router.push
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 5bbb94f commit ff05c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Readme.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function handleClick(event: MouseEvent) {
5454
// Handle relative anchor links
5555
if (href.startsWith('#') || href.startsWith('/')) {
5656
event.preventDefault()
57-
router.push(href)
57+
navigateTo(href)
5858
return
5959
}
6060
}

0 commit comments

Comments
 (0)