Changed the way the object is assigned
This commit is contained in:
parent
21dcafb047
commit
b3572cec3a
@ -41,7 +41,7 @@ export default class DropdownTrigger extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const remainingProps = Object.assign({}, this.props);
|
||||
const remainingProps = { ...this.props };
|
||||
delete remainingProps.dropdownToggle;
|
||||
delete remainingProps.dropdownShow;
|
||||
delete remainingProps.dropdownHide;
|
||||
|
Loading…
Reference in New Issue
Block a user