From c5cb9bda343051ea3423ba4862b9d7d6efea88cd Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 26 Nov 2020 15:03:21 -0300 Subject: [PATCH] check --- pages/wishlist.tsx | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/pages/wishlist.tsx b/pages/wishlist.tsx index 40f18692f..ee81857de 100644 --- a/pages/wishlist.tsx +++ b/pages/wishlist.tsx @@ -4,7 +4,7 @@ import getAllPages from '@bigcommerce/storefront-data-hooks/api/operations/get-a import useWishlist from '@bigcommerce/storefront-data-hooks/wishlist/use-wishlist' import { Layout } from '@components/common' import { Heart } from '@components/icons' -import { Text } from '@components/ui' +import { Text, Container } from '@components/ui' import { WishlistCard } from '@components/wishlist' import { defatultPageProps } from '@lib/defaults' @@ -23,27 +23,31 @@ export default function Wishlist() { const { data, isEmpty } = useWishlist({ includeProducts: true }) return ( -
- My Wishlist -
- {isEmpty ? ( -
- - - -

- Your wishlist is empty -

-

- Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake. -

-
- ) : ( - data && - data.items?.map((item) => ) - )} + +
+ My Wishlist +
+ {isEmpty ? ( +
+ + + +

+ Your wishlist is empty +

+

+ Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake. +

+
+ ) : ( + data && + data.items?.map((item) => ( + + )) + )} +
-
+ ) }