chore(components): Fixed linter warning
This commit is contained in:
parent
115808f69a
commit
1447510be8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import Event from './event'
|
|||
const DraftEvents = ({ events }) => (
|
||||
<div className="draft-events">
|
||||
{['error', 'warning', 'debug'].map((type) => (
|
||||
<div className={`events-${type}`} id={type}>
|
||||
<div className={`events-${type}`} key={type}>
|
||||
{events[type].map((event, index) => (
|
||||
<Event event={event} type={type} key={index} />
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue