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() {
|
||||
return (
|
||||
<div className="PluginSwitch">
|
||||
<ExpandableToolMenu buttons={this.props.buttons} text={'View'} />
|
||||
<ExpandableToolMenu buttons={this.props.buttons} label={'View'} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -173,7 +173,7 @@ function _getButtonComponents(toolbarButtons, activeButtons) {
|
||||
return (
|
||||
<ExpandableToolMenu
|
||||
key={button.id}
|
||||
text={button.label}
|
||||
label={button.label}
|
||||
icon={button.icon}
|
||||
buttons={childButtons}
|
||||
activeCommand={activeCommand}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user