This commit is contained in:
Sean Edmunds
2025-08-04 13:46:21 -05:00
parent 07ce9da818
commit 28f7b5d017

View File

@@ -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