mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
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:
1 parent
338e9bc818
commit
6d67e84cea
1 file changed
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user