show loading state for values in performance chart

This commit is contained in:
tjs 2022-03-06 20:01:58 -05:00
parent c1755aac1d
commit 9ab8c0cc67
1 changed files with 1 additions and 3 deletions

View File

@ -212,9 +212,7 @@ const PerformanceChart = ({
</>
) : chartData.length === 0 ? (
<>
<div className="font-bold pb-1 text-xl text-th-fgd-1">
{formatUsdValue(0.0)}
</div>
<div className="font-bold pb-1 text-xl text-th-fgd-1">--</div>
<div className="text-xs font-normal text-th-fgd-4">
{dayjs().format('ddd MMM D YYYY, h:mma')}
</div>