Skip to content

Commit

Permalink
Fix “to” prop
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed Jun 25, 2022
1 parent 7e81dd4 commit b353ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart-link.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default
then create 'nuxt-link', {
...data
nativeOn: listeners # nuxt-link doesn't forward events on it's own
props: makeRouterPath to, { router: parent?.$router }
props: to: makeRouterPath to, { router: parent?.$router }
}, children

# Make a standard link that opens in a new window
Expand Down

0 comments on commit b353ff2

Please sign in to comment.