Skip to content

Commit

Permalink
Add Evolutions from & to
Browse files Browse the repository at this point in the history
  • Loading branch information
nguoianphu committed Aug 17, 2021
1 parent c69a252 commit 9566419
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ScreenPokedex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ function findByDexToEvo(data: any[], Dex: number) {
return (
<div className="tl ph2">
<Link
className="underline fg-link OutlineFocus"
className="fg-link OutlineFocus"
style={{textDecoration: "none"}}
to={`/pokedex?q=${el.evolutions[0].pokemon_name}`}
>
{el.evolutions[0].pokemon_name}
Expand All @@ -126,7 +127,8 @@ function findByDexFromEvo(data: any[], Dex: number) {
return (
<div className="tl ph2">
<Link
className="underline fg-link OutlineFocus"
className="fg-link OutlineFocus"
style={{textDecoration: "none"}}
to={`/pokedex?q=${el.pokemon_name}`}
>
{el.pokemon_name}
Expand Down

0 comments on commit 9566419

Please sign in to comment.