Skip to content

Commit

Permalink
[client] Fix typo opereration --> operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Drevon committed Aug 1, 2019
1 parent 82f3b18 commit e004b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const subscription = client.listen(query, params)
.subscribe(comment => {
console.log(`${comment.author} commented: ${comment.text}`)
})

// to unsubscribe later on
subscription.unsubscribe()
```
Expand Down Expand Up @@ -202,7 +202,7 @@ client

### Adding elements to an array

The patch opereration `insert` takes a location (`before`, `after` or `replace`), a path selector and an array of elements to insert.
The patch operation `insert` takes a location (`before`, `after` or `replace`), a path selector and an array of elements to insert.

```js
const nanoid = require('nanoid')
Expand Down

0 comments on commit e004b06

Please sign in to comment.