Skip to content

Commit

Permalink
refactoring: Removing quartile from tooltip at ASCOR bubble graph
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Dec 7, 2023
1 parent 06790e8 commit 49fc968
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/javascript/components/tpi/charts/ascor-bubble/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ const getTooltipText = ({ tooltipContent }) => {
return `
<div>
<p class="bubble-tip-header">${tooltipContent.header}</p>
<p class="bubble-tip-text">${tooltipContent.emission_size}</p>
</div>
`;
}
Expand Down Expand Up @@ -241,7 +240,7 @@ BubbleChart.propTypes = {
results: PropTypes.arrayOf(
PropTypes.shape({
area: PropTypes.string.isRequired,
market_cap_group: PropTypes.string.isRequired,
market_cap_group: PropTypes.number.isRequired,
country_id: PropTypes.number.isRequired,
country_path: PropTypes.string.isRequired,
country_name: PropTypes.string.isRequired,
Expand Down

0 comments on commit 49fc968

Please sign in to comment.