docs: fix highlight

This commit is contained in:
Guillaume Chau
2021-11-18 19:28:45 +01:00
committed by GitHub
parent ac0b79430e
commit cbe7df7a01
@@ -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,
},
})