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) => {
|
||||
window.EditorApplication.start({
|
||||
newsletter: newsletter,
|
||||
newsletter,
|
||||
config: extendedConfig,
|
||||
});
|
||||
}).catch(() => {
|
||||
window.EditorApplication.start({
|
||||
newsletter: newsletter,
|
||||
config: config,
|
||||
newsletter,
|
||||
config,
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user