Skip to content

Commit e470332

Browse files
authored
fix doc: usEditContext to useEditContext
1 parent 6c8fd21 commit e470332

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)