From cbe7df7a01cd8f4c2f7d0af4bf473e2a8e2d848c Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 18 Nov 2021 19:28:45 +0100 Subject: [PATCH] docs: fix highlight --- packages/docs/src/guide-composable/mutation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/guide-composable/mutation.md b/packages/docs/src/guide-composable/mutation.md index 7fb494b..99b62d6 100644 --- a/packages/docs/src/guide-composable/mutation.md +++ b/packages/docs/src/guide-composable/mutation.md @@ -169,7 +169,7 @@ sendMessage() Most of the time, our variables will be dynamic though. Let's say we have a `text` ref that will be updated by the user: -```js{1,11} +```js{1,11-12} const text = ref('') const { mutate: sendMessage } = useMutation(gql` @@ -179,8 +179,8 @@ const { mutate: sendMessage } = useMutation(gql` } } `, { - // This will not work! See explanation below variables: { + // This will not work! See explanation below text: text.value, }, })