Skip to main content

Order Details

Orders detail component shows details of an order.

Here is the full source code. Here is how our order detail component looks like;



The logic for our order details component is in the useOrderDetail custom hook. It uses the store.customerStore.getOrder(id) function to get the specified order of the customer.