style: use M/s instead of Mb/s

This commit is contained in:
hamster1963 2024-10-06 22:38:05 +08:00
parent af9ce5be81
commit 439565d60b

View File

@ -74,15 +74,13 @@ export default function ServerCard({
<div className={"flex w-14 flex-col"}>
<p className="text-xs text-muted-foreground">{t("Upload")}</p>
<div className="flex items-center text-xs font-semibold">
{up.toFixed(2)}
Mb/s
{up.toFixed(2)}M/s
</div>
</div>
<div className={"flex w-14 flex-col"}>
<p className="text-xs text-muted-foreground">{t("Download")}</p>
<div className="flex items-center text-xs font-semibold">
{down.toFixed(2)}
Mb/s
{down.toFixed(2)}M/s
</div>
</div>
</section>