From 5473d33a5257174990601ab00a35cfb5db1ffda3 Mon Sep 17 00:00:00 2001 From: Nathan Kluth Date: Mon, 4 Dec 2023 11:46:42 -0700 Subject: [PATCH] single --- packages/nextjs/app/products/[slug]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nextjs/app/products/[slug]/page.tsx b/packages/nextjs/app/products/[slug]/page.tsx index f89f8d0..e729997 100644 --- a/packages/nextjs/app/products/[slug]/page.tsx +++ b/packages/nextjs/app/products/[slug]/page.tsx @@ -13,7 +13,7 @@ const getData = async ({ searchParams }: { searchParams: RouteSearchParams }) => const recommendations = await getRecommendations(); return { - products, + product: products[0], recommendations, }; };