refactor: distribute to destination
This commit is contained in:
parent
1c88b32bad
commit
fec717cbe1
|
@ -465,7 +465,15 @@ function Ui({disconnected}) {
|
||||||
else if (hadBufferSlot.current) {
|
else if (hadBufferSlot.current) {
|
||||||
client.send({
|
client.send({
|
||||||
type: 'Action',
|
type: 'Action',
|
||||||
payload: {type: 'swapSlots', value: [0, mainEntityRef.current, i + 1]},
|
payload: {
|
||||||
|
type: 'distribute',
|
||||||
|
value: [
|
||||||
|
0,
|
||||||
|
[
|
||||||
|
[mainEntityRef.current, i + 1],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user