diff --git a/app/components/pokemon-grid-item.gts b/app/components/pokemon-grid-item.gts index e63fc28..2235611 100644 --- a/app/components/pokemon-grid-item.gts +++ b/app/components/pokemon-grid-item.gts @@ -48,12 +48,11 @@ export default class PokemonGridItem extends Component { @cached get thumbnailUrl() { - return this.args.pokemon.image.thumbnail; - // const state = getPromiseState(this.thumbnailRequest); - // if (state.isError || state.isPending) { - // return null; - // } - // return state.result; + const state = getPromiseState(this.thumbnailRequest); + if (state.isError || state.isPending) { + return null; + } + return state.result; }