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