Skip to content

Commit

Permalink
Working on order component
Browse files Browse the repository at this point in the history
  • Loading branch information
thlee1122 committed Jan 18, 2017
1 parent 569fe70 commit 827e097
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/components/orderList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class OrderList extends Component {
<th>ID</th>
<th>Purchased Date</th>
<th>Order Total</th>
<th>Order Detail</th>
</tr>
</thead>
<tbody>
Expand All @@ -61,8 +60,7 @@ class OrderList extends Component {
<tr key={order.id}>
<td>{ order.id }</td>
<td>{ order.created_at.slice(0, 10) } { order.created_at.slice(11, 16) }</td>
<td>{ order.total }</td>
<td><Link to="{`/order/user/${order.user_id}/${order.id}">Order Detail</Link></td>
<td>{ order.total }</td>
</tr>
))
}
Expand Down

0 comments on commit 827e097

Please sign in to comment.