simpify join
This commit is contained in:
parent
ed4de4a54a
commit
d28748f217
@ -6,7 +6,7 @@ const addState = connect(
|
|||||||
function receiveState(state) {
|
function receiveState(state) {
|
||||||
const { ws, team, account } = state;
|
const { ws, team, account } = state;
|
||||||
|
|
||||||
function sendInstanceNew(sConstructs, name, pve) {
|
function sendInstanceNew(sConstructs, pve) {
|
||||||
if (sConstructs.length) {
|
if (sConstructs.length) {
|
||||||
return ws.sendInstanceNew(sConstructs, account.name, pve);
|
return ws.sendInstanceNew(sConstructs, account.name, pve);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user