more build issues fixed
This commit is contained in:
parent
542584c2cb
commit
001738c275
|
|
@ -51,7 +51,7 @@ const Modal: React.FC<{ isOpen: boolean; onClose: () => void; item: { username:
|
||||||
item.points > 0 ? 'text-green-500' : 'text-red-500'
|
item.points > 0 ? 'text-green-500' : 'text-red-500'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Total Gains : {item.points.toFixed(2)} x
|
Total Gains : {parseFloat(item.points.toString()).toFixed(2)} x
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="relative p-6 flex-auto">
|
<div className="relative p-6 flex-auto">
|
||||||
|
|
@ -64,10 +64,10 @@ const Modal: React.FC<{ isOpen: boolean; onClose: () => void; item: { username:
|
||||||
detail.gains > 0 ? 'text-green-500' : 'text-red-400'
|
detail.gains > 0 ? 'text-green-500' : 'text-red-400'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{detail.token}: {detail.gains.toFixed(2)}x [
|
{detail.token}: {parseFloat(detail.gains.toString()).toFixed(2)}x [
|
||||||
{detail.price_at_creation.toFixed(8) +
|
{parseFloat(detail.price_at_creation.toString()).toFixed(8) +
|
||||||
' => ' +
|
' => ' +
|
||||||
detail.price_now.toFixed(8)}
|
parseFloat(detail.price_now.toString()).toFixed(8)}
|
||||||
]
|
]
|
||||||
</p>
|
</p>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user