Skip to content

Commit cd30c28

Browse files
G-Rathrcdexta
authored andcommitted
fix: Change order of properties in spread object in addLane helper function
1 parent 65d8dae commit cd30c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/LaneHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const LaneHelper = {
4242
},
4343

4444
addLane: (state, lane) => {
45-
const newLane = {...lane, id: uuidv1(), cards: []}
45+
const newLane = {id: uuidv1(), cards: [], ...lane}
4646
return update(state, {lanes: {$push: [newLane]}})
4747
},
4848

0 commit comments

Comments
 (0)