diff --git a/src/components/ScoreStats.js b/src/components/ScoreStats.js index 77628a6..e42e932 100644 --- a/src/components/ScoreStats.js +++ b/src/components/ScoreStats.js @@ -26,10 +26,11 @@ export default class ScoreStats extends Component { data.percentage.replace("%", ""), data.websiteType ); + console.log(this.lastKnownPP); if (this.lastKnownPP === undefined) { this.lastKnownPP = currentPP; } - if (currentPP < this.lastKnownPP || currentPP === undefined) { + if (currentPP === undefined) { currentPP = this.lastKnownPP; } this.lastKnownPP = currentPP;