diff --git a/src/component/ProductComponent.js b/src/component/ProductComponent.js index 854f78d..62b0cb4 100644 --- a/src/component/ProductComponent.js +++ b/src/component/ProductComponent.js @@ -150,7 +150,6 @@ export const ProductComponent = observer((props) => { message.error("Gagal menghapus"); } }; - const handleDelete = (id) => { Modal.confirm({ title: "Are you sure delete this record?", diff --git a/src/index.css b/src/index.css index a7684d2..4f5affd 100644 --- a/src/index.css +++ b/src/index.css @@ -82,4 +82,4 @@ code { } .ant-table-tbody > tr.ant-table-row-level-0:hover > td { background: #f0faf8 !important; - } \ No newline at end of file + } diff --git a/src/pages/Membership/Konfirmasi.js b/src/pages/Membership/Konfirmasi.js index 148b08f..516ceea 100644 --- a/src/pages/Membership/Konfirmasi.js +++ b/src/pages/Membership/Konfirmasi.js @@ -372,7 +372,7 @@ export const Konfirmasi = observer(() => { : "Aktif"} )} - + : ""} + {item.user_detail?.image_store !== '""' ? ( + + + + + + Produk & Nominal + + + + {dataCard.map((item, index) => ( + + + {item.title} +
+ {item.price} +
+ + ))} +
+ + + + + ); +}; diff --git a/src/store/authentication.js b/src/store/authentication.js index c39bb8f..80d6a3c 100644 --- a/src/store/authentication.js +++ b/src/store/authentication.js @@ -2,7 +2,6 @@ import {makeAutoObservable, runInAction} from "mobx"; import {TokenUtil} from "../utils/token"; import {http} from "../utils/http"; - export class Authentication { isLoggedIn = false; isLoginLoading = false;