This commit is contained in:
MuslemRahimi 2024-12-29 23:36:33 +01:00
parent 0f32791fe4
commit de92ebdb75
2 changed files with 5 additions and 3 deletions

View File

@ -344,7 +344,9 @@
class="cursor-pointer flex flex-col items-center"
>
<span class="text-white text-[1rem] font-semibold"
>{abbreviateNumber(item?.totalTrades)}</span
>{item?.totalTrades?.toLocaleString(
"en-US",
)}</span
>
<span class="text-slate-300 font-medium text-sm"
>Total Trades</span

View File

@ -391,7 +391,7 @@
<td
class="text-end text-sm sm:text-[1rem] whitespace-nowrap text-white border-b border-b-[#27272A]"
>
<span class="font-semibold">
<span class="">
{#if item?.type === "Bought"}
<span class="text-[#00FC50]">{item?.type}</span>
{:else if item?.type === "Sold"}
@ -411,7 +411,7 @@
<td
class="text-end text-sm sm:text-[1rem] whitespace-nowrap text-white border-b border-b-[#27272A]"
>
{item?.transaction}</td
{item?.transaction?.toLocaleString("en-US")}</td
>
<td