summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-03-30 16:06:52 +0100
committerJules Laplace <julescarbon@gmail.com>2019-03-30 16:06:52 +0100
commit5284aa830c1fc7e1bcd109fb5ce1dc56255091fc (patch)
treee2f77ce4808dfd3454230f1961a7591c68a359b0
parent1c99addd8ce31d57654202478d5b77aa3724967a (diff)
k
-rw-r--r--client/chart/pie.charts.js4
-rw-r--r--scraper/client/paper/paper.verify.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/chart/pie.charts.js b/client/chart/pie.charts.js
index af790be7..6e579537 100644
--- a/client/chart/pie.charts.js
+++ b/client/chart/pie.charts.js
@@ -47,9 +47,9 @@ class PieCharts extends Component {
})
const countryTuples = toTuples(countries).sort((a,b) => b[1] - a[1])
- let countryRows = countryTuples.slice(0, 9)
+ let countryRows = countryTuples.slice(0, 10)
- const otherCountryCount = countryTuples.slice(9).reduce((a,b) => (a + b[1]), 0)
+ const otherCountryCount = countryTuples.slice(10).reduce((a,b) => (a + b[1]), 0)
if (otherCountryCount > 0) {
countryRows.push([
otherCountriesLabel,
diff --git a/scraper/client/paper/paper.verify.js b/scraper/client/paper/paper.verify.js
index 1301239b..83eb5b44 100644
--- a/scraper/client/paper/paper.verify.js
+++ b/scraper/client/paper/paper.verify.js
@@ -38,7 +38,7 @@ class PaperVerify extends Component {
this.props.actions.getAddress(sha256)
this.props.actions.getVerification(sha256)
const citationState = this.getCitationState(sha256)
- console.log('DID MOUNT')
+ // console.log('DID MOUNT')
this.setState(citationState)
}