Skip to content

Commit

Permalink
remove revert from patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed May 10, 2024
1 parent c9cf5f0 commit 716c8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ export function usePostActions( postType, onActionPerformed ) {
}

const actions = [
( isTemplateOrTemplatePart || isPattern ) && resetTemplateAction,
isTemplateOrTemplatePart && resetTemplateAction,
postTypeObject?.viewable && viewPostAction,
! isTemplateOrTemplatePart && restorePostAction,
isTemplateOrTemplatePart && deleteTemplateAction,
Expand Down

0 comments on commit 716c8bd

Please sign in to comment.