Merge branch 'master' of https://git.shiblysolution.id/TPAY/dashboard
This commit is contained in:
@ -21,6 +21,7 @@ export default function CustomerWallet({customerid}: any) {
|
||||
});
|
||||
setCustomerWallet(getCustWallet.data.data.data);
|
||||
} catch (error: any) {
|
||||
setCustomerWallet([])
|
||||
toast.error(`Wallet Not Found`);
|
||||
}
|
||||
}
|
||||
@ -29,7 +30,7 @@ export default function CustomerWallet({customerid}: any) {
|
||||
<div className="bg-white p-6 rounded-md shadow-md space-y-4">
|
||||
<h2 className="text-lg font-semibold">Wallet Member</h2>
|
||||
<Card className="p-4">
|
||||
{customerWallet.length > 0 ? (
|
||||
{customerWallet ? (
|
||||
<div className="overflow-x-auto">
|
||||
<table className="min-w-full text-sm text-left">
|
||||
<thead className="text-xs text-gray-500 border-b">
|
||||
|
||||
Reference in New Issue
Block a user