mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 12:13:52 +00:00
Merge pull request #11624 from strapi/ctb/fix-compos-creation
[v4] CTB: Clear modal state when closing it
This commit is contained in:
commit
3f4f7bdf08
@ -278,6 +278,8 @@ const FormModal = () => {
|
||||
forTarget,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
dispatch({ type: RESET_PROPS });
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user