summaryrefslogtreecommitdiff
path: root/src/lib/product/components/Product.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-20 14:33:21 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-20 14:33:21 +0700
commit833488811b4164d7fbdce9bd70e171f06d62bf8d (patch)
treec781a3ced1f27b8f1c81ed5401fd758d79c1de1c /src/lib/product/components/Product.jsx
parent87e7292941a251f09b5af39d9020896a3bfb0f97 (diff)
login and register
Diffstat (limited to 'src/lib/product/components/Product.jsx')
-rw-r--r--src/lib/product/components/Product.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/Product.jsx b/src/lib/product/components/Product.jsx
index 9b41f5c3..9521cbe4 100644
--- a/src/lib/product/components/Product.jsx
+++ b/src/lib/product/components/Product.jsx
@@ -21,7 +21,7 @@ const Product = ({ product }) => {
if (wishlist?.data?.productTotal > 0) {
toast.success('Berhasil menghapus dari wishlist')
} else {
- toast.error('Terjadi kesalahan internal, gagal menambahkan ke wishlist')
+ toast.success('Berhasil menambahkan ke wishlist')
}
wishlist.refetch()
}