This commit is contained in:
@@ -297,7 +297,7 @@ export default async function StocksPage({ searchParams }: PageProps) {
|
||||
<p className={`text-sm ${pnlColor(change)}`}>
|
||||
{change > 0 ? '+' : ''}{formatCurrency(change)}
|
||||
</p>
|
||||
<p className={`text-xs ${pnlColor(changePct)}`}>
|
||||
<p className={`text-xs ${pnlColor(changePct ?? 0)}`}>
|
||||
{changePct! > 0 ? '+' : ''}{changePct!.toFixed(2)}%
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user