Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed May 27, 2019
1 parent 1664120 commit e314805
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/container/SalesContainer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import Sales from "@screens/Sales";

// TODO: receipt line (no access here to receipt lines)
import { ReceiptLine } from "../../store/PosStore/ReceiptStore";
import { isItemRemarks, showToast, showToastDanger, createReceiptLine } from "../../utils";
import {
isItemRemarks,
showToast,
showToastDanger,
createReceiptLine,
} from "../../utils";

import PriceModalComponent from "@components/PriceModalComponent";
import SummaryModalComponent from "@components/SummaryModalComponent";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const showToastDanger = (message, duration = 5000) => {
});
};

export const createReceiptLine = (item) => {
export const createReceiptLine = item => {
return ReceiptLine.create({
date: Date.now(),
item: item.name,
Expand Down

0 comments on commit e314805

Please sign in to comment.