simpify join

This commit is contained in:
ntr 2019-06-11 22:29:39 +10:00
parent ed4de4a54a
commit d28748f217

View File

@ -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);
} }