Skip to content

Commit

Permalink
chore: simplify demo component
Browse files Browse the repository at this point in the history
  • Loading branch information
jkusa committed Nov 9, 2022
1 parent 66bf3a7 commit 3169422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dummy/app/components/doc-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export default class DocSection extends Component {

@action
showMessage(msgObj) {
this.flashMessages.add(Object.assign({}, msgObj, { ctx: this.guid }));
this.flashMessages.add({ ...msgObj, ctx: this.guid });
}
}

0 comments on commit 3169422

Please sign in to comment.