chore(deps): introduce drastic measures to sort out the pull request situation

This commit is contained in:
David Ralph
2023-07-11 11:21:43 +01:00
parent 1b00c9b158
commit 9a5bddcf6d
3 changed files with 1716 additions and 1677 deletions

View File

@@ -193,9 +193,11 @@ export default class Stats extends PureComponent {
</span>
</div>
<div className="achievements">
{this.state.achievements.map((achievement, index) =>
achievementElement(index, achievement.name, achievement.achieved),
)}
{this.state.achievements.map((achievement, index) => {
if (achievement.achieved) {
return achievementElement(index, achievement.name, achievement.achieved)
}
})}
</div>
</div>
</>