From 140f2b96e2c7d3e1d62f4067c7b9ed1d3192e823 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 30 Dec 2023 14:43:46 -0800 Subject: [PATCH] file: rename from Page.tsx to page.tsx in /products/[id] directory --- app/products/[id]/Page.tsx | 9 +++++++++ app/products/[id]/page.tsx | 0 2 files changed, 9 insertions(+) create mode 100644 app/products/[id]/Page.tsx create mode 100644 app/products/[id]/page.tsx diff --git a/app/products/[id]/Page.tsx b/app/products/[id]/Page.tsx new file mode 100644 index 0000000..e6daa4c --- /dev/null +++ b/app/products/[id]/Page.tsx @@ -0,0 +1,9 @@ +type Props = { + params: { id: String }; +}; + +const ProductDetails = ({ params }: Props) => { + return
{id}
; +}; + +export default ProductDetails; diff --git a/app/products/[id]/page.tsx b/app/products/[id]/page.tsx new file mode 100644 index 0000000..e69de29