We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
marmelab
Learn more about funding links in repositories.
Report abuse
2 parents 6c8fd21 + e470332 commit dfa219eCopy full SHA for dfa219e
docs/useEditContext.md
@@ -30,7 +30,7 @@ export const PostEdit = () => (
30
);
31
32
const Aside = () => {
33
- const { record, isLoading } = usEditContext();
+ const { record, isLoading } = useEditContext();
34
if (isLoading) return null;
35
return (
36
<div>
@@ -61,4 +61,4 @@ const {
61
save, // the update callback, to be passed to the underlying form as submit handler
62
saving, // boolean that becomes true when the dataProvider is called to update the record
63
} = useEditContext();
64
-```
+```
0 commit comments