]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: typo (#712)
authorFabien ML <fabienml.dev@gmail.com>
Mon, 11 Jan 2021 15:21:20 +0000 (16:21 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Jan 2021 15:21:20 +0000 (16:21 +0100)
Add missing comma line 67

docs/guide/advanced/extending-router-link.md

index 46973c5c19abf2a838e686c6cd3f786dad60d924..6b035931f7a20b22247c422ffb241c153bc008ac 100644 (file)
@@ -64,7 +64,7 @@ export default {
   setup(props) {
     // toRef allows us to extract one prop and keep it reactive
     // https://v3.vuejs.org/api/refs-api.html#toref
-    const { navigate, href route, isActive, isExactActive } = useLink(toRef(props, 'to'))
+    const { navigate, href, route, isActive, isExactActive } = useLink(toRef(props, 'to'))
 
 
     // profit!