fix reload balance on request topup

This commit is contained in:
Wikzyy
2025-04-30 17:10:37 +07:00
parent 508aee210c
commit 70a1e9dbd3

View File

@ -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();
}
};