Open jeremy-jtlo opened 2 years ago
Found this while I was working on the repository refactor.
When we call savePokemon:
savePokemon
localStorage.setItem("pokemonTable", JSON.stringify(this.pokemonTable));
And when we call saveAbility:
saveAbility
localStorage.setItem("abilityTable", JSON.stringify(this.abilityTable));
Whole tables are being saved. I'm working on the pokemon repository right now, if I find a working and testable solution I'll see if I can fix the ability repo as well.
What's the status on this, want me to look into ability? @jeremy-jtlo
Found this while I was working on the repository refactor.
When we call
savePokemon
:localStorage.setItem("pokemonTable", JSON.stringify(this.pokemonTable));
And when we call
saveAbility
:localStorage.setItem("abilityTable", JSON.stringify(this.abilityTable));
Whole tables are being saved. I'm working on the pokemon repository right now, if I find a working and testable solution I'll see if I can fix the ability repo as well.