fixed some instances where if no temp unit was set for the user yet the unit defaulted to °F to cerrectly default to °C now
This commit is contained in:
parent
b3a50db873
commit
9a5e25908f
2 changed files with 15 additions and 15 deletions
|
|
@ -249,9 +249,9 @@ export default function BinCard(props: Props) {
|
|||
noWrap
|
||||
style={{ fontSize: "0.85rem", fontWeight: 650, color: tempColour }}>
|
||||
{display +
|
||||
(user.settings.temperatureUnit === pond.TemperatureUnit.TEMPERATURE_UNIT_CELSIUS
|
||||
? "°C"
|
||||
: "°F")}
|
||||
(user.settings.temperatureUnit === pond.TemperatureUnit.TEMPERATURE_UNIT_FAHRENHEIT
|
||||
? "°F"
|
||||
: "°C")}
|
||||
</Typography>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue