Skip to content

Commit

Permalink
Use ppt unit for hui (#1062)
Browse files Browse the repository at this point in the history
* Use ppt unit for hui

* Update index.test.tsx.snap
  • Loading branch information
ericboucher authored Nov 28, 2024
1 parent 8b15221 commit 399d7d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ exports[`MultipleSensorsCharts should render with given state from Redux store 1
>
36.1
psu
ppt
</mock-typography>
</div>
<div
Expand All @@ -807,7 +807,7 @@ exports[`MultipleSensorsCharts should render with given state from Redux store 1
>
34.9
psu
ppt
</mock-typography>
</div>
<div
Expand All @@ -820,7 +820,7 @@ exports[`MultipleSensorsCharts should render with given state from Redux store 1
>
33.8
psu
ppt
</mock-typography>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function metricFields(
{
label: 'Salinity',
value: `${formatNumber(data?.salinity, 1)}`,
unit: 'psu',
unit: source === 'hui' ? 'ppt' : 'psu',
xs: 6,
},
];
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/constants/chartConfigs/huiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type SondeMetricsKeys = Extract<
export const huiConfig: Record<SondeMetricsKeys, BaseSourceConfig> = {
salinity: {
title: 'Salinity',
units: 'psu',
units: 'ppt',
description: '',
visibility: 'public',
order: 1,
Expand Down

0 comments on commit 399d7d8

Please sign in to comment.