Rewrite actions/modal and reducers/modal with typescript (#24833)
This commit is contained in:
1 parent
4197b5e4c8
commit
38c6216082
38 files changed
+503
-261
No files matched your search
@@ -381,7 +381,10 @@ export function initMediaEditModal(id) {
|
||||
id,
|
||||
});
|
||||
|
||||
dispatch(openModal('FOCAL_POINT', { id }));
|
||||
dispatch(openModal({
|
||||
modalType: 'FOCAL_POINT',
|
||||
modalProps: { id },
|
||||
}));
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user