fix reload balance on request topup
This commit is contained in:
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user