Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed May 3, 2019
1 parent 2474627 commit 3f14d72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/container/SalesContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ export default class SalesContainer extends React.Component {
voidLine(queueOrigin, {
id: currentTable,
line: index,
}).then(res => {
})
.then(res => {
receipt.deleteLine(receiptLine);
Toast.show({
text: "Receipt line is deleted.",
Expand All @@ -644,7 +645,7 @@ export default class SalesContainer extends React.Component {
duration: 5000,
});
}
}
};

onReceiptLineEdit = index => {
const receipt = this.props.receiptStore.defaultReceipt;
Expand Down

0 comments on commit 3f14d72

Please sign in to comment.