Skip to content

Commit bb6a099

Browse files
G-Rathrcdexta
authored andcommitted
fix: Change order of properties in spread object in addNewCard method property
1 parent cd30c28 commit bb6a099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Lane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Lane extends Component {
9393
const laneId = this.props.id
9494
const id = uuidv1()
9595
this.hideEditableCard()
96-
let card = {...params, id}
96+
let card = {id, ...params}
9797
this.props.actions.addCard({laneId, card})
9898
this.props.onCardAdd(card, laneId)
9999
}

0 commit comments

Comments
 (0)