Skip to content

Commit 2940726

Browse files
authored
Merge pull request marmelab#10632 from marmelab/fix-use-create-doc
[Doc] Fix useCreate documentation
2 parents fc5796c + a38cb4d commit 2940726

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/useCreate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ const LikeButton = () => {
7878
}
7979
if (error) { return <p>ERROR</p>; }
8080
return <button disabled={isPending} onClick={handleClick}>Like</button>;
81-
};```
81+
};
82+
```
8283

8384
`data` the record to create.
8485

0 commit comments

Comments
 (0)