Skip to content

Commit dfa219e

Browse files
authoredApr 14, 2022
Merge pull request #7542 from usman-coe/patch-1
fix doc: usEditContext to useEditContext
2 parents 6c8fd21 + e470332 commit dfa219e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/useEditContext.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const PostEdit = () => (
3030
);
3131

3232
const Aside = () => {
33-
const { record, isLoading } = usEditContext();
33+
const { record, isLoading } = useEditContext();
3434
if (isLoading) return null;
3535
return (
3636
<div>
@@ -61,4 +61,4 @@ const {
6161
save, // the update callback, to be passed to the underlying form as submit handler
6262
saving, // boolean that becomes true when the dataProvider is called to update the record
6363
} = useEditContext();
64-
```
64+
```

0 commit comments

Comments
 (0)
Please sign in to comment.