summaryrefslogtreecommitdiff
path: root/src/routes/account/orders.tsx
blob: 1e655d126e22e69e7df961718833401b7d2ac03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { useLoaderData } from "react-router-dom";
import MainContentLayout from "../../components/main_content_layout";
import OrderTable from "../../components/order_table";


export default function Orders() {
  const orders = useLoaderData();

  return(
    <MainContentLayout>
      <OrderTable orders={orders}/>
    </MainContentLayout>
  );
}