comma
This commit is contained in:
@@ -129,7 +129,11 @@ console.log(transaction);
|
||||
"Amount": (
|
||||
<Box w={"auto"} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"}>
|
||||
{item.investorAmount}
|
||||
{/* {item.investorAmount} */}
|
||||
{parseFloat(item?.investorAmount || 0).toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
@@ -150,7 +154,11 @@ console.log(transaction);
|
||||
"USD amount": (
|
||||
<Box w={"auto"} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"}>
|
||||
{item.USDAmount}
|
||||
{/* {item.USDAmount} */}
|
||||
{parseFloat(item?.USDAmount || 0).toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
|
||||
@@ -189,7 +189,11 @@ const PendingRequest = () => {
|
||||
"Withdrawal Amount": (
|
||||
<Box w={"80px"} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"}>
|
||||
{item.USDAmount}💲
|
||||
{parseFloat(item?.USDAmount || 0).toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}💲
|
||||
{/* {item.USDAmount} */}
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user