From bc04e721d51e149709ab3cfaf5e77ef034511860 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Mon, 27 Mar 2023 10:17:49 +0700 Subject: invoice, invoice detail, address, create address, edit address, wishlist --- src/lib/wishlist/components/Wishlists.jsx | 68 +++++++++++++++++++------------ 1 file changed, 42 insertions(+), 26 deletions(-) (limited to 'src/lib/wishlist/components') diff --git a/src/lib/wishlist/components/Wishlists.jsx b/src/lib/wishlist/components/Wishlists.jsx index e61efcc3..e13c61e5 100644 --- a/src/lib/wishlist/components/Wishlists.jsx +++ b/src/lib/wishlist/components/Wishlists.jsx @@ -4,6 +4,9 @@ import Spinner from '@/core/components/elements/Spinner/Spinner' import ProductCard from '@/lib/product/components/ProductCard' import { useRouter } from 'next/router' import useWishlists from '../hooks/useWishlists' +import MobileView from '@/core/components/views/MobileView' +import DesktopView from '@/core/components/views/DesktopView' +import Menu from '@/lib/auth/components/Menu' const Wishlists = () => { const router = useRouter() @@ -22,33 +25,46 @@ const Wishlists = () => { } return ( -
- {wishlists.data?.products?.length == 0 && ( - - Wishlist anda masih kosong - - )} - -
- {wishlists.data?.products.map((product) => ( - - ))} -
+ <> + +
+ {wishlists.data?.products?.length == 0 && ( + + Wishlist anda masih kosong + + )} -
- -
-
+
+ {wishlists.data?.products.map((product) => ( + + ))} +
+ +
+ +
+
+ + + +
+
+ +
+
+
+ {wishlists.data?.products.map((product) => ( + + ))} +
+ +
+ +
+
+
+
+ ) } -- cgit v1.2.3