From 2cc01b5fec98eb4d02f3d695b783223664acb2ed Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 31 Jan 2023 16:20:18 +0700 Subject: Fixing minor --- src/pages/my/wishlist.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pages/my/wishlist.js') diff --git a/src/pages/my/wishlist.js b/src/pages/my/wishlist.js index 9683c785..3d479802 100644 --- a/src/pages/my/wishlist.js +++ b/src/pages/my/wishlist.js @@ -1,4 +1,5 @@ import WithAuth from "@/components/auth/WithAuth"; +import Alert from "@/components/elements/Alert"; import Pagination from "@/components/elements/Pagination"; import Spinner from "@/components/elements/Spinner"; import AppBar from "@/components/layouts/AppBar"; @@ -38,6 +39,11 @@ export default function Wishlist() { { !wishlists && ( ) } + { wishlists?.products?.length == 0 && ( + + Wishlist anda masih kosong + + ) }
{wishlists?.products.map((product) => ( -- cgit v1.2.3