updated payload for new account and solution for the credit refresh bug (for now) #348
@@ -2,6 +2,11 @@ import React from "react";
|
||||
|
||||
function CompleteConfirmCredit({ onClose, confirmCredit }) {
|
||||
const { data } = confirmCredit;
|
||||
|
||||
const backToWallet = () => {
|
||||
onClose();
|
||||
window.location.reload(true);
|
||||
};
|
||||
return (
|
||||
<div className="logout-modal-body w-full flex flex-col items-center">
|
||||
<div className="content-wrapper w-full h-[32rem]">
|
||||
@@ -99,7 +104,7 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
|
||||
<div className="md:p-8 p-4 add-fund-btn flex justify-end items-center py-4 gap-4">
|
||||
<button
|
||||
className="px-4 h-11 flex justify-center items-center btn-gradient text-white text-base rounded-full w-[100px]"
|
||||
onClick={onClose}
|
||||
onClick={backToWallet}
|
||||
>
|
||||
Ok
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user