Bugfix
This commit is contained in:
@@ -159,8 +159,8 @@ export function Homepage() {
|
||||
(basicWeather.properties.minTemperature.values[0].value * 9) / 5 + 32,
|
||||
),
|
||||
precipitation:
|
||||
weather.features[0]?.properties.precipitationLastHour.value ?? 'N/A',
|
||||
humidity: Math.round(weather.features[0]?.properties.relativeHumidity.value),
|
||||
weather.features[0]?.properties?.precipitationLastHour?.value ?? 'N/A',
|
||||
humidity: Math.round(weather.features[0]?.properties?.relativeHumidity?.value),
|
||||
heatIndex:
|
||||
basicWeather.properties.heatIndex?.values[0].value === null
|
||||
? null
|
||||
|
||||
Reference in New Issue
Block a user