From f20f12cdd622b41392c7f1887a081919360e4138 Mon Sep 17 00:00:00 2001 From: Mario Santos <34552881+SantosGuillamot@users.noreply.github.com> Date: Sat, 13 Jul 2024 11:14:10 +0200 Subject: [PATCH] Use `__unstableBlockToolbarLastItem` component (#63291) Co-authored-by: SantosGuillamot Co-authored-by: ellatrix Co-authored-by: talldan Co-authored-by: youknowriad Co-authored-by: amitraj2203 Co-authored-by: carolinan --- packages/patterns/src/components/reset-overrides-control.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/patterns/src/components/reset-overrides-control.js b/packages/patterns/src/components/reset-overrides-control.js index 41d47cd7d81642..697a595dc42166 100644 --- a/packages/patterns/src/components/reset-overrides-control.js +++ b/packages/patterns/src/components/reset-overrides-control.js @@ -3,7 +3,7 @@ */ import { store as blockEditorStore, - BlockControls, + __unstableBlockToolbarLastItem as BlockToolbarLastItem, } from '@wordpress/block-editor'; import { ToolbarButton, ToolbarGroup } from '@wordpress/components'; import { useRegistry, useSelect } from '@wordpress/data'; @@ -79,12 +79,12 @@ export default function ResetOverridesControl( props ) { } return ( - + { __( 'Reset' ) } - + ); }