mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
fix(joyent-cp-frontend): destruct data in handleQuickActionsClick
This commit is contained in:
parent
dc5cd78f50
commit
97a820688b
@ -51,7 +51,7 @@ class ServiceList extends Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleQuickActionsClick = (evt, service) => {
|
const handleQuickActionsClick = (evt, { service }) => {
|
||||||
const list = this._refs.container;
|
const list = this._refs.container;
|
||||||
const listRect = list.getBoundingClientRect();
|
const listRect = list.getBoundingClientRect();
|
||||||
const button = evt.currentTarget;
|
const button = evt.currentTarget;
|
||||||
|
Loading…
Reference in New Issue
Block a user