adding prices of pools

This commit is contained in:
2025-11-11 17:45:00 -04:00
parent 732dfd7780
commit fea441b4e7
2 changed files with 47 additions and 6 deletions

View File

@@ -340,9 +340,14 @@ export function StakeForm({ defaultMode = 'stake' }: StakeFormProps) {
setSelectedToken(null);
}}
>
<div className="flex flex-col">
<span className="font-medium">{pool.symbol}</span>
<span className="text-xs text-muted-foreground">{pool.name}</span>
<div className="flex justify-between items-center w-full">
<div className="flex flex-col">
<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>
)}
</div>
</button>
))
@@ -390,9 +395,14 @@ export function StakeForm({ defaultMode = 'stake' }: StakeFormProps) {
setSelectedToken(null);
}}
>
<div className="flex flex-col">
<span className="font-medium">{pool.symbol}</span>
<span className="text-xs text-muted-foreground">{pool.name}</span>
<div className="flex justify-between items-center w-full">
<div className="flex flex-col">
<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>
)}
</div>
</button>
))