{
!isBuilding && this.props.match.url !== '/'? (
{isEdit? 'Click a building to edit' : 'Click a building for details'}
) : null
}
{
this.props.match.url !== '/'? (
) : null
}
);
}
}
ColouringMap.propTypes = {
building: PropTypes.object,
revision_id: PropTypes.number,
selectBuilding: PropTypes.func,
colourBuilding: PropTypes.func,
match: PropTypes.object,
history: PropTypes.object
}
export default ColouringMap;