Skip to content

Commit

Permalink
Update delete template button (#36815)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and noisysocks committed Nov 29, 2021
1 parent 3a9eb13 commit 6d1521e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/list/table.js
Expand Up @@ -68,12 +68,13 @@ function Actions( { template } ) {
<MenuGroup>
{ isRemovable && (
<MenuItem
isDestructive
onClick={ () => {
removeTemplate( template );
onClose();
} }
>
{ __( 'Remove template' ) }
{ __( 'Delete template' ) }
</MenuItem>
) }
{ isRevertable && (
Expand Down

0 comments on commit 6d1521e

Please sign in to comment.