mirror of
https://github.com/maputnik/editor.git
synced 2026-06-17 04:37:25 +00:00
Fix lint
This commit is contained in:
@@ -32,10 +32,10 @@ function renderFeature(feature: InspectFeature, idx: number) {
|
|||||||
</div>
|
</div>
|
||||||
{Object.keys(feature.properties).map(propertyName => {
|
{Object.keys(feature.properties).map(propertyName => {
|
||||||
const property = feature.properties[propertyName];
|
const property = feature.properties[propertyName];
|
||||||
return <div className="maputnik-popup-layer">
|
return <div key={propertyName} className="maputnik-popup-layer">
|
||||||
<div className="maputnik-popup-feature-left">{propertyName}</div>
|
<div className="maputnik-popup-feature-left">{propertyName}</div>
|
||||||
<div className="maputnik-popup-feature-right">{displayValue(property)}</div>
|
<div className="maputnik-popup-feature-right">{displayValue(property)}</div>
|
||||||
</div>
|
</div>
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user