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:
csawatzky 2025-10-14 11:06:10 -06:00
parent b3a50db873
commit 9a5e25908f
2 changed files with 15 additions and 15 deletions

View file

@ -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>
);
};