mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Merge pull request #7553 from strapi/fix/rename-add-comp-to-dz-event
Rename addCompToDz event
This commit is contained in:
commit
4ee79e2d9c
@ -252,7 +252,7 @@ const EditViewDataManagerProvider = ({
|
||||
}, [id, slug, isCreatingEntry, isLoadingForPermissions]);
|
||||
|
||||
const addComponentToDynamicZone = useCallback((keys, componentUid, shouldCheckErrors = false) => {
|
||||
emitEvent('addComponentToDynamicZone');
|
||||
emitEvent('didAddComponentToDynamicZone');
|
||||
dispatch({
|
||||
type: 'ADD_COMPONENT_TO_DYNAMIC_ZONE',
|
||||
keys: keys.split('.'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user