Checked Errors in Wallet Page and made some tiny fixes

This commit is contained in:
2023-07-24 15:01:03 +01:00
parent 77c538ca79
commit 71f799d157
5 changed files with 20 additions and 16 deletions
@@ -291,6 +291,17 @@ function ConfirmAddFund({
}
};
const getBack = () => {
setConfirmCredit((prev) => ({
...prev,
show: {
awaitConfirm: { loader: false, state: false },
acceptConfirm: { loader: false, state: false },
},
data: {},
}));
}
return (
<div className="content-wrapper w-full h-[32rem]">
<div className="w-full mb-10">
@@ -359,7 +370,7 @@ function ConfirmAddFund({
<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 border-gradient text-base rounded-full"
onClick={onClose}
onClick={getBack}
>
Cancel
</button>