Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove whitespace react error

Benjamin King21035d2ee599
diff --git a/web/js/components/vector-metadata/table.js b/web/js/components/vector-metadata/table.js
index 27d30b473..f4eb1b5fe 100644
--- a/web/js/components/vector-metadata/table.js
+++ b/web/js/components/vector-metadata/table.js
@@ -26,17 +26,11 @@ export default class VectorMetaTable extends React.Component {
const properties = lodashFind(metaLegend.mvt_properties, { Identifier: featureId });
return (
<tr key={'vector-row-' + index}>
- <td>
- {properties ? properties.Title || featureId : featureId}
- </td>
- <td>
- {i}
- </td>
+ <td>{properties ? properties.Title || featureId : featureId}</td>
+ <td>{i}</td>
{properties && properties.Description ? (
- <td>
- <VectorMetaTooltip index={index} description={properties.Description} />
- </td>
- ) : ''
+ <td><VectorMetaTooltip index={index} description={properties.Description} /></td>
+ ) : undefined
}
</tr>
)