Skip to content

Commit

Permalink
Update the receipList when adding one
Browse files Browse the repository at this point in the history
  • Loading branch information
youssef-md committed Nov 6, 2018
1 parent ab14219 commit 5e0780f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Receipt/ReceiptAdder/ReceiptAdder.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ReceiptAdder extends Component {
if (this.state.fileSent && !this.state.completed) {
content = <ReceiptCompare onCancelHandler={this.onCancelHandler} onConfirmButton={this.onConfirmButton} />
} else if (this.state.completed) {
content = <Confirmation type="done" content={'Nota adicionada com sucesso'} onConfirmOk={this.onConfirmOk} />
content = <Confirmation valid="done" content={'Nota adicionada com sucesso'} onConfirmOk={this.props.onConfirmOk} />
}
return (
<Modal show={this.props.show}>
Expand Down

0 comments on commit 5e0780f

Please sign in to comment.