Fixes 'object-shorthand' lint rule
This commit is contained in:
@@ -37,13 +37,13 @@ const initializeEditor = (config) => {
|
|||||||
|
|
||||||
Promise.resolve(Hooks.applyFilters('mailpoet_newsletters_editor_extend_config', config, newsletter)).then((extendedConfig) => {
|
Promise.resolve(Hooks.applyFilters('mailpoet_newsletters_editor_extend_config', config, newsletter)).then((extendedConfig) => {
|
||||||
window.EditorApplication.start({
|
window.EditorApplication.start({
|
||||||
newsletter: newsletter,
|
newsletter,
|
||||||
config: extendedConfig,
|
config: extendedConfig,
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
window.EditorApplication.start({
|
window.EditorApplication.start({
|
||||||
newsletter: newsletter,
|
newsletter,
|
||||||
config: config,
|
config,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user