fix: 🐛 Update for changes in ExpandableToolMenu props
The props for ExpandableToolMenu were changed from expecting `text` to expecting `label` for the menu's label. These changes make sure we're providing it that way.
This commit is contained in:
parent
38ea92d2a3
commit
e09670ada2
@ -13,7 +13,7 @@ class PluginSwitch extends Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className="PluginSwitch">
|
<div className="PluginSwitch">
|
||||||
<ExpandableToolMenu buttons={this.props.buttons} text={'View'} />
|
<ExpandableToolMenu buttons={this.props.buttons} label={'View'} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -173,7 +173,7 @@ function _getButtonComponents(toolbarButtons, activeButtons) {
|
|||||||
return (
|
return (
|
||||||
<ExpandableToolMenu
|
<ExpandableToolMenu
|
||||||
key={button.id}
|
key={button.id}
|
||||||
text={button.label}
|
label={button.label}
|
||||||
icon={button.icon}
|
icon={button.icon}
|
||||||
buttons={childButtons}
|
buttons={childButtons}
|
||||||
activeCommand={activeCommand}
|
activeCommand={activeCommand}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user