Skip to content

Commit 41a79de

Browse files
authored
Update README.md
1 parent 91b3e92 commit 41a79de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ const [data, loading, error, request] = useFetch({
7373
})
7474

7575
request.post('/todos', {
76-
id: 'someID',
77-
text: 'this is what my todo is'
76+
no: 'way'
7877
})
7978
```
8079
#### Helper hooks
@@ -90,7 +89,7 @@ const [data, loading, error, patch] = usePatch({
9089
})
9190

9291
patch({
93-
no: 'way'
92+
yes: 'way',
9493
})
9594
```
9695

0 commit comments

Comments
 (0)