remove fns

This commit is contained in:
ntr 2019-11-24 22:19:39 +11:00
parent 734132974b
commit bbdc89ed7f

View File

@ -25,15 +25,6 @@ const addState = connect(
vboxSelected,
} = state;
function sendVboxAccept(group, index) {
document.activeElement.blur();
return ws.sendVboxAccept(instance.id, group, index);
}
function sendVboxCombine() {
return ws.sendVboxCombine(instance.id, vboxSelected.stashSelect, vboxSelected.storeSelect);
}
return {
ws,
info,
@ -44,8 +35,6 @@ const addState = connect(
account,
tutorial,
vboxSelected,
sendVboxAccept,
sendVboxCombine,
};
},
@ -75,8 +64,6 @@ function Info(args) {
itemInfo,
instance, // Only used for instance id
// functions
sendVboxAccept,
sendVboxCombine,
setTutorialNull,
} = args;
const { comboItem } = this.state;