From: Carter Snook Date: Sun, 4 Oct 2020 10:41:30 +0000 (-0500) Subject: docs: variable misspelled (#509) X-Git-Tag: v4.0.0-rc.1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018ca8457f32c5f1886753f6011a0157bd22a110;p=thirdparty%2Fvuejs%2Frouter.git docs: variable misspelled (#509) --- diff --git a/docs/guide/advanced/composition-api.md b/docs/guide/advanced/composition-api.md index 5972c7f0..fcd6e331 100644 --- a/docs/guide/advanced/composition-api.md +++ b/docs/guide/advanced/composition-api.md @@ -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) } )