diff --git a/packages/editor/src/components/post-actions/actions.js b/packages/editor/src/components/post-actions/actions.js index 62105828c4d28..9aa26be11ada0 100644 --- a/packages/editor/src/components/post-actions/actions.js +++ b/packages/editor/src/components/post-actions/actions.js @@ -518,7 +518,8 @@ export const duplicatePostAction = { ); const { saveEntityRecord } = useDispatch( coreStore ); - const { createSuccessNotice, createErrorNotice } = useDispatch( noticesStore ); + const { createSuccessNotice, createErrorNotice } = + useDispatch( noticesStore ); async function createPage( event ) { event.preventDefault();