Merge pull request #4739 from strapi/fix/ctm-edit

Fix ctm wrong usage of useGlobalContext
This commit is contained in:
Alexandre BODIN 2019-12-17 13:49:47 +01:00 committed by GitHub
commit 7aae0b8bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ function Row({ goTo, isBulkable, row, headers }) {
[row, schema]
);
const { emitEvent } = useGlobalContext;
const { emitEvent } = useGlobalContext();
return (
<>