This commit is contained in:
@@ -148,7 +148,7 @@ export function Homepage() {
|
||||
icon: weather.features[0]?.properties.icon?.replace('medium', 'large') ?? '',
|
||||
textDescription: weather.features[0]?.properties.textDescription,
|
||||
temperature: Math.round(
|
||||
(weather.features.find((feature: any) => feature.properties.temperature.value)
|
||||
(weather.features?.find((feature: any) => feature.properties.temperature.value)
|
||||
.properties.temperature.value *
|
||||
9) /
|
||||
5 +
|
||||
|
||||
Reference in New Issue
Block a user