Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed Jul 16, 2019
1 parent 95329db commit 0ce715b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/container/SalesContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,7 @@ export default class SalesContainer extends React.Component {
defaultReceipt.clear();

for (let i = 0; i < items.length; i++) {
defaultReceipt.add(
orderItemToReceiptItem(items[i])
);
defaultReceipt.add(orderItemToReceiptItem(items[i]));
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/services/tailorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ exports.orderItemToReceiptItem = function(item) {
item_name: item.item_name,
price: item.rate,
qty: item.qty,
date: item.creation
date: item.creation,
};
};

Expand Down

0 comments on commit 0ce715b

Please sign in to comment.