Skip to content

Commit

Permalink
Fix: Actions moved to the editor package still reference edit-site on…
Browse files Browse the repository at this point in the history
… their ids. (#60899)

Co-authored-by: jorgefilipecosta <[email protected]>
  • Loading branch information
jorgefilipecosta and jorgefilipecosta authored Apr 22, 2024
1 parent e633a78 commit 62bb01b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const trashPostAction = {
}
createSuccessNotice( successMessage, {
type: 'snackbar',
id: 'edit-site-page-trashed',
id: 'trash-post-action',
} );
} else {
// If there was at lease one failure.
Expand Down Expand Up @@ -217,7 +217,7 @@ function usePermanentlyDeletePostAction() {
}
createSuccessNotice( successMessage, {
type: 'snackbar',
id: 'edit-site-post-permanently-deleted',
id: 'permanently-delete-post-action',
} );
if ( onActionPerformed ) {
onActionPerformed( posts );
Expand Down Expand Up @@ -328,7 +328,7 @@ function useRestorePostAction() {
),
{
type: 'snackbar',
id: 'edit-site-post-restored',
id: 'restore-post-action',
}
);
if ( onActionPerformed ) {
Expand Down Expand Up @@ -538,7 +538,7 @@ const resetTemplateAction = {
),
{
type: 'snackbar',
id: 'edit-site-template-reverted',
id: 'revert-template-action',
}
);
} catch ( error ) {
Expand Down

0 comments on commit 62bb01b

Please sign in to comment.