mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-12 19:26:50 +09:00
Add label to Toolbar to avoid deprecation warning
This commit is contained in:
@@ -18,7 +18,9 @@ const EmbedControls = ( props ) => {
|
||||
return (
|
||||
<>
|
||||
<BlockControls>
|
||||
<Toolbar>
|
||||
<Toolbar
|
||||
label={ __( 'Options', 'wp-strava' ) }
|
||||
>
|
||||
<Button
|
||||
label={ __( 'Edit URL', 'wp-strava' ) }
|
||||
onClick={ switchBackToURLInput }
|
||||
|
||||
Reference in New Issue
Block a user