display as ms, not millisec or milliseconds

pull/302/head
Ben Phelps 2 years ago
parent 8f59c4a236
commit 0590896453

@ -37,7 +37,12 @@ export default function Component({ service }) {
/>
<Block
label={t("speedtest.ping")}
value={t("common.ms", { value: speedtestData.data.ping, style: "unit", unit: "millisecond" })}
value={t("common.ms", {
value: speedtestData.data.ping,
style: "unit",
unit: "millisecond",
unitDisplay: "narrow",
})}
/>
</Container>
);

Loading…
Cancel
Save