mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-05-19 09:28:47 +02:00
Fix plus sign showing before negative rendimientos values
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -607,7 +607,7 @@ export default function Pensions() {
|
|||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
<p className="text-lg font-bold font-mono" style={{ color: fund.color }}>
|
<p className="text-lg font-bold font-mono" style={{ color: fund.color }}>
|
||||||
+{formatCRC(earned)}
|
{earned >= 0 ? '+' : ''}{formatCRC(earned)}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs text-muted-foreground">en rendimientos</p>
|
<p className="text-xs text-muted-foreground">en rendimientos</p>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user