adjust latency periods, display form for -1

This commit is contained in:
2024-12-17 08:23:19 -06:00
parent 6c00da29a7
commit 63208ee203
2 changed files with 6 additions and 2 deletions

View File

@@ -30,7 +30,9 @@ export default function Offer({
<span className="text-sm">{mb_to_gb(offer.gpu_ram)} GB</span>
</span>
<span className="relative top-3 text-base">
<span>{latency ?? "?"}</span>
<span className={latency == -1 ? "text-red-500" : ""}>
{latency == -1 ? "??" : latency}
</span>
<span className="text-xs select-none">ms</span>
</span>
</div>