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 committed Nov 24, 2021
1 parent bd39af9 commit 4746070
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 @@ -46,12 +46,13 @@ function Actions( { template } ) {
<MenuGroup>
{ isRemovable && (
<MenuItem
isDestructive
onClick={ () => {
removeTemplate( template );
onClose();
} }
>
{ __( 'Remove template' ) }
{ __( 'Delete template' ) }
</MenuItem>
) }
{ isRevertable && (
Expand Down

0 comments on commit 4746070

Please sign in to comment.