mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:41:16 +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 &&
|
{errors.length > 0 &&
|
||||||
<div className="maputnik-inline-error">
|
<div className="maputnik-inline-error">
|
||||||
{[].concat(this.props.error).map(error => {
|
{[].concat(this.props.error).map(error => {
|
||||||
return <div>{error.message}</div>
|
return <div key={error}>{error.message}</div>
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue