diff --git a/client/app/components/Manager/OrderList/index.js b/client/app/components/Manager/OrderList/index.js index 59a28a82..bdc4a103 100644 --- a/client/app/components/Manager/OrderList/index.js +++ b/client/app/components/Manager/OrderList/index.js @@ -1,70 +1,59 @@ -/** - * - * OrderList - * - */ - import React from 'react'; - import { Link } from 'react-router-dom'; - import { formatDate } from '../../../utils/date'; -const OrderList = props => { +const OrderList = (props) => { const { orders } = props; - const renderFirstItem = order => { + const renderFirstItem = (order) => { if (order.products) { const product = order.products[0].product; return ( ); } else { - return ; + return ; } }; return ( -