diff --git a/packages/editor/src/components/post-actions/actions.js b/packages/editor/src/components/post-actions/actions.js index 7d38fc93e222d2..42ebf3561305c4 100644 --- a/packages/editor/src/components/post-actions/actions.js +++ b/packages/editor/src/components/post-actions/actions.js @@ -145,10 +145,10 @@ export const trashPostAction = { [ ...errorMessages ].join( ',' ) ); } - createErrorNotice( errorMessage, { - type: 'snackbar', - } ); } + createErrorNotice( errorMessage, { + type: 'snackbar', + } ); } if ( onActionPerformed ) { onActionPerformed( posts ); @@ -260,10 +260,10 @@ export function usePermanentlyDeletePostAction() { [ ...errorMessages ].join( ',' ) ); } - createErrorNotice( errorMessage, { - type: 'snackbar', - } ); } + createErrorNotice( errorMessage, { + type: 'snackbar', + } ); } }, } ),