Commit b7cf8249 authored by seotts's avatar seotts

Remove unused variable and fix spacing

parent 1d70ee24
......@@ -20,8 +20,7 @@ const WorldMap = props => (
locations: props.countryNames,
z: props.colorIndex,
text: props.countryData,
hovertemplate: '%{text}' +
'<extra></extra>',
hovertemplate: '%{text}<extra></extra>',
hoverlabel: {
bgcolor: '#FFF',
bordercolor: '#5B6671',
......
......@@ -53,8 +53,9 @@ const SECTION_NAMES = {
// Constants used for world map data processing/formatting for use with Plotly
const countryNames = Object.keys(CountryUsage);
// const countryNames = countryKeys.map(key => CountryUsage[key].display);
const countryData = countryNames.map(key => `<b>${CountryUsage[key].display}</b><br>${CountryUsage[key].count.toLocaleString('en')}`);
const countryData = countryNames.map(key =>
`<b>${CountryUsage[key].display}</b><br>${CountryUsage[key].count.toLocaleString('en')}`
);
const colorIndex = countryNames.map(key => CountryUsage[key]['log count']);
// Create the div given a list of supporter names,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment