1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 23:30:05 +02:00

fix(joyent-cp-frontend): destruct data in handleQuickActionsClick

This commit is contained in:
Sérgio Ramos 2017-06-16 23:41:28 +01:00
parent dc5cd78f50
commit 97a820688b

View File

@ -51,7 +51,7 @@ class ServiceList extends Component {
);
}
const handleQuickActionsClick = (evt, service) => {
const handleQuickActionsClick = (evt, { service }) => {
const list = this._refs.container;
const listRect = list.getBoundingClientRect();
const button = evt.currentTarget;