mirror of
https://github.com/maputnik/editor.git
synced 2026-07-03 20:47:26 +00:00
Fix lint
This commit is contained in:
@@ -32,7 +32,7 @@ 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user