diff --git a/README.md b/README.md index de945ba..3d3a4af 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ const client = useClient() // auto-imported const users = await client.query('getUsers') const addUser = async () => { - const mutate = await client.mutation('createUser', { + const newUser = await client.mutation('createUser', { name: 'wagmi' }) } diff --git a/playground/app.vue b/playground/app.vue index 943c67f..79ae2b1 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -1,18 +1,17 @@ - - - {{ JSON.stringify(data, null, 2) }} - - - asdx {{ JSON.stringify(error, null, 2) }} - + + Loading... + + + Error: {{ JSON.stringify(error, null, 2) }} + + + User {{ JSON.stringify(data, null, 2) }}