mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 09:25:24 +01:00
Fixed lint error.
This commit is contained in:
parent
1b3d8b5b79
commit
a5b226d9f3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class InputBlock extends React.Component {
|
|||
{errors.length > 0 &&
|
||||
<div className="maputnik-inline-error">
|
||||
{[].concat(this.props.error).map(error => {
|
||||
return <div>{error.message}</div>
|
||||
return <div key={error}>{error.message}</div>
|
||||
})}
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue