diff --git a/src/pages/transaction/topup/TransactionTopup.tsx b/src/pages/transaction/topup/TransactionTopup.tsx index 5ad6ba6..9136efa 100644 --- a/src/pages/transaction/topup/TransactionTopup.tsx +++ b/src/pages/transaction/topup/TransactionTopup.tsx @@ -60,6 +60,7 @@ const TransactionTopup = () => { }); console.log(response); if (response?.status == true) { + await fetchWallets(); toast.success('Success Request Topup'); } else { toast.warning(`${response?.message}`); @@ -71,7 +72,6 @@ const TransactionTopup = () => { } finally { setIsSubmitting(false); setShowConfirmation(false); - fetchWallets(); ResetForm(); } };