remove fns
This commit is contained in:
parent
734132974b
commit
bbdc89ed7f
@ -25,15 +25,6 @@ const addState = connect(
|
|||||||
vboxSelected,
|
vboxSelected,
|
||||||
} = state;
|
} = 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 {
|
return {
|
||||||
ws,
|
ws,
|
||||||
info,
|
info,
|
||||||
@ -44,8 +35,6 @@ const addState = connect(
|
|||||||
account,
|
account,
|
||||||
tutorial,
|
tutorial,
|
||||||
vboxSelected,
|
vboxSelected,
|
||||||
sendVboxAccept,
|
|
||||||
sendVboxCombine,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -75,8 +64,6 @@ function Info(args) {
|
|||||||
itemInfo,
|
itemInfo,
|
||||||
instance, // Only used for instance id
|
instance, // Only used for instance id
|
||||||
// functions
|
// functions
|
||||||
sendVboxAccept,
|
|
||||||
sendVboxCombine,
|
|
||||||
setTutorialNull,
|
setTutorialNull,
|
||||||
} = args;
|
} = args;
|
||||||
const { comboItem } = this.state;
|
const { comboItem } = this.state;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user