diff options
Diffstat (limited to 'src/routes/account/orders.tsx')
-rw-r--r-- | src/routes/account/orders.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/routes/account/orders.tsx b/src/routes/account/orders.tsx new file mode 100644 index 0000000..1e655d1 --- /dev/null +++ b/src/routes/account/orders.tsx @@ -0,0 +1,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> + ); +}
\ No newline at end of file |