fix(dashboard): localize the respiratory-rate unit label

The respiratory-rate tile hard-coded the English unit while the metric
sub-page already reads the localized string. Point the tile at the same
key so every locale shows its own unit.
This commit is contained in:
Marc-André Bombeck committed 2026-08-09 03:59:19 +02:00
1 parent 338e9bc818
commit 6d67e84cea
1 file changed
+1 -1
+1 -1
View File
@@ -1354,7 +1354,7 @@ export default function DashboardPageClient({
key="respiratoryRate"
label={t("measurements.typeRespiratoryRate")}
latest={respRateSummary?.latest ?? null}
unit="breaths/min"
unit={t("insights.units.respiratoryRate")}
avg7={respRateSummary?.avg7 ?? null}
avg30={respRateSummary?.avg30 ?? null}
slope30={respRateSummary?.slope30 ?? null}