Add label to Toolbar to avoid deprecation warning

This commit is contained in:
Justin Foell
2021-01-29 16:31:47 -06:00
parent 97d65b6100
commit 518815a2a6
+3 -1
View File
@@ -18,7 +18,9 @@ const EmbedControls = ( props ) => {
return (
<>
<BlockControls>
<Toolbar>
<Toolbar
label={ __( 'Options', 'wp-strava' ) }
>
<Button
label={ __( 'Edit URL', 'wp-strava' ) }
onClick={ switchBackToURLInput }