added .toFixed(2)}

This commit is contained in:
2024-01-26 01:08:07 +01:00
parent 5928ddb3c1
commit 6ee9c7e7d8
+1 -1
View File
@@ -671,7 +671,7 @@ const ZeroBalanceChecker = ({ amount, code, country, openCreditPopup }) => {
return (
<div className="px-4 pb-3 w-full flex flex-col gap-5 items-center">
<h1 className="text-lg mt-3 font-medium tracking-wide text-black dark:text-white">
Wallet Balance:{` ${code} ${+amount.toFixed(2)}`}
Wallet Balance:{` ${code} ${(+amount).toFixed(2)}`}
</h1>
<p className="font-semibold text-center text-red-500 text-lg">
You do not have sufficient balance to assign this task