From f4dc3833469b9ba8c3c59f29d274ff4c40700fdd Mon Sep 17 00:00:00 2001 From: Samantha Kellow Date: Thu, 23 Nov 2023 16:04:08 +0000 Subject: [PATCH] wardrobe page --- app/wardrobe/page.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/wardrobe/page.tsx b/app/wardrobe/page.tsx index a02011521..d5bdb3a2c 100644 --- a/app/wardrobe/page.tsx +++ b/app/wardrobe/page.tsx @@ -1,7 +1,7 @@ import Grid from 'components/grid'; import Footer from 'components/layout/footer'; import ProductGridItems from 'components/layout/product-grid-items'; -import { getLiveProducts } from 'lib/utils'; +import { getLiveWardrobeProducts } from 'lib/utils'; import { Suspense } from 'react'; export const runtime = 'edge'; @@ -14,17 +14,22 @@ export const metadata = { }; export default async function Wardrobe() { - const liveProducts = await getLiveProducts({}); + const liveProducts = await getLiveWardrobeProducts({}); return ( <> {/* carousel highlighting quality, */} +

art for the wardrobe

{liveProducts.length > 0 ? ( - ) : null} + ) :
+

opps!

+

something went wrong 😖

+
+ }