fix: Development warning, missing key on event list items
This commit is contained in:
parent
31522b0d6f
commit
4edf90a184
@ -86,7 +86,7 @@ class Events extends React.Component<Props> {
|
||||
) : (
|
||||
<>
|
||||
{events.orderedData.map((event) => (
|
||||
<EventListItem event={event} />
|
||||
<EventListItem event={event} key={event.id} />
|
||||
))}
|
||||
{this.allowLoadMore && (
|
||||
<Waypoint key={this.offset} onEnter={this.loadMoreResults} />
|
||||
|
Reference in New Issue
Block a user