mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Fix lint
This commit is contained in:
@@ -145,7 +145,7 @@ module.exports = class Pokemon {
|
||||
|
||||
async fetchSmogonTiers(gen) {
|
||||
if (!this.store.smogonData[gen.toLowerCase()]) await this.store.fetchSmogonData(gen.toLowerCase());
|
||||
const pkmn = this.store.smogonData[gen.toLowerCase()].find(pkmn => pkmn.id === this.id);
|
||||
const pkmn = this.store.smogonData[gen.toLowerCase()].find(data => data.id === this.id);
|
||||
this.smogonTiers[gen.toLowerCase()] = pkmn.formats;
|
||||
return this.smogonTiers[gen.toLowerCase()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user