]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: variable misspelled (#509)
authorCarter Snook <cartersnook04@gmail.com>
Sun, 4 Oct 2020 10:41:30 +0000 (05:41 -0500)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 10:41:30 +0000 (12:41 +0200)
docs/guide/advanced/composition-api.md

index 5972c7f034130a31dcd5f840834fff6ed111475b..fcd6e3311014174f5733edc90d43d672cf6c2b3e 100644 (file)
@@ -35,7 +35,7 @@ export default {
     // fetch the user information when params change
     watch(
       () => route.params,
-      async params => {
+      async newParams => {
         userData.value = await fetchUser(newParams.id)
       }
     )