Skip to content

Conversation

@nataliaAnashkevich
Copy link
Owner

No description provided.

{location && <CurrentLocation currentLocation={location}/>}
{hourlyWeather &&
hourlyWeather.map((hourlyItem, _index) => (
<HourlyWeatherItem key={_index} hourly={hourlyItem} />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

index is not a good idea to use as a key. Do you have something like id? Or can you generate unique key that will not be changed between calls of the component?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, will do

dispatch(userPositionDetailedWeatherReceived({ hourlyWeather }));
} catch (error) {
dispatch(userPositionDetailedWeatherFailed(error));
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss that by call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants