This commit is contained in:
Yanick Champoux 2021-05-01 18:45:27 -04:00
parent 86325f8ed8
commit 29255ea347
2 changed files with 12 additions and 12 deletions

View File

@ -11,9 +11,9 @@ const dux = new Updux({
}, },
}); });
const set_cargo = action('set_cargo',payload()); const set_cargo = action("set_cargo", payload());
dux.addMutation(set_cargo, space => () => ({ dux.addMutation(set_cargo, (space) => () => ({
space, space,
cost: 0, cost: 0,
mass: space, mass: space,