diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
| commit | 46a0ba30ef54a7e36206481a4f5b2bf1f9702fca (patch) | |
| tree | a95fd534fc27761d8b26d0dffcdb5f300f7a61c7 /frontend/components/OrderList.js | |
| parent | f7bea2d1b7be2b70dceb25c9837f608b538e9cec (diff) | |
wip
Diffstat (limited to 'frontend/components/OrderList.js')
| -rw-r--r-- | frontend/components/OrderList.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/components/OrderList.js b/frontend/components/OrderList.js index cf12dc8..6a1ad67 100644 --- a/frontend/components/OrderList.js +++ b/frontend/components/OrderList.js @@ -31,7 +31,12 @@ class OrderList extends Component { <ul className="order-items"> <hr /> <h2> - <Link href={`/order/${order.id}`} prefetch> + <Link + href={{ + pathname: '/order', + query: { id: order.id }, + }} + > <a>{order.id}</a> </Link> <time dateTime={order.createdAt} title={format(order.createdAt, 'MMMM D, YYYY h:mm A')}> |
