prettier
This commit is contained in:
parent
86325f8ed8
commit
29255ea347
@ -4,19 +4,19 @@ import u from "updeep";
|
|||||||
import { createSelector } from "reselect";
|
import { createSelector } from "reselect";
|
||||||
|
|
||||||
const dux = new Updux({
|
const dux = new Updux({
|
||||||
initial: {
|
initial: {
|
||||||
space: 0,
|
space: 0,
|
||||||
cost: 0,
|
cost: 0,
|
||||||
mass: 0,
|
mass: 0,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
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,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export default dux.asDux;
|
export default dux.asDux;
|
||||||
|
Loading…
Reference in New Issue
Block a user