-
{
- if (hourlyForecastGrid <= forecast.hourly.length / 2 - 1) setHourlyForecastGrid(hourlyForecastGrid + 1);
- }}
- />
-
-
- {
- forecast.hourly.map(hour => (
- 25 ? 'hot' : hour.temp < 20 ? 'cold' : null}
- icon={hour.weather[0].id}
- description={hour.weather[0].description}
- />
- ))
- }
-
-
- {
- if (hourlyForecastGrid >= - forecast.hourly.length / 2 + 1) setHourlyForecastGrid(hourlyForecastGrid - 1);
- }}
- />
-