diff --git a/packages/frontend/src/components/Node/Location.tsx b/packages/frontend/src/components/Node/Location.tsx index 7d03512..85006fe 100644 --- a/packages/frontend/src/components/Node/Location.tsx +++ b/packages/frontend/src/components/Node/Location.tsx @@ -42,9 +42,9 @@ class Location extends React.Component { public render() { const { node, position, focused } = this.props; const { left, top, quarter } = position; - const { height, propagationTime } = node; + const { height, propagationTime, city } = node; - if (!location) { + if (!city) { return null; } @@ -80,7 +80,8 @@ class Location extends React.Component { hash, blockTime, blockTimestamp, - propagationTime + propagationTime, + city, } = this.props.node; let validatorRow = null; @@ -108,7 +109,7 @@ class Location extends React.Component { {implementation} v{version} - {location[2]} + {city} #{formatNumber(height)}