simpify join
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user