adding token prices

This commit is contained in:
2025-11-11 18:28:32 -04:00
parent fea441b4e7
commit 2fbebed014
2 changed files with 65 additions and 4 deletions

View File

@@ -345,8 +345,15 @@ export function StakeForm({ defaultMode = 'stake' }: StakeFormProps) {
<span className="font-medium">{pool.symbol}</span>
<span className="text-xs text-muted-foreground">{pool.name}</span>
</div>
{pool.price && (
<span className="text-sm font-medium text-muted-foreground">{pool.price}</span>
{(pool.price || pool.tvl) && (
<div className="flex flex-col items-end">
{pool.price && (
<span className="text-sm font-medium text-muted-foreground">{pool.price}</span>
)}
{pool.tvl && (
<span className="text-xs text-muted-foreground">TVL: {pool.tvl}</span>
)}
</div>
)}
</div>
</button>
@@ -400,8 +407,15 @@ export function StakeForm({ defaultMode = 'stake' }: StakeFormProps) {
<span className="font-medium">{pool.symbol}</span>
<span className="text-xs text-muted-foreground">{pool.name}</span>
</div>
{pool.price && (
<span className="text-sm font-medium text-muted-foreground">{pool.price}</span>
{(pool.price || pool.tvl) && (
<div className="flex flex-col items-end">
{pool.price && (
<span className="text-sm font-medium text-muted-foreground">{pool.price}</span>
)}
{pool.tvl && (
<span className="text-xs text-muted-foreground">TVL: {pool.tvl}</span>
)}
</div>
)}
</div>
</button>