Fix typo in method name

[MAILPOET-2463]
This commit is contained in:
Rostislav Wolny
2020-01-16 15:40:58 +01:00
committed by Pavel Dohnal
parent 2a2d5da12f
commit 0cb0fff9b0
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ const AddCustomField = ({ clientId }) => {
); );
const isCreating = useSelect( const isCreating = useSelect(
(sel) => sel('mailpoet-form-editor').getIsCustomFieldCrating(), (sel) => sel('mailpoet-form-editor').getIsCustomFieldCreating(),
[] []
); );

View File

@@ -59,7 +59,7 @@ export default {
getDateSettingsData(state) { getDateSettingsData(state) {
return state.dateSettingData; return state.dateSettingData;
}, },
getIsCustomFieldCrating(state) { getIsCustomFieldCreating(state) {
return state.isCustomFieldCreating; return state.isCustomFieldCreating;
}, },
}; };