Skip to content

Commit 6b267bd

Browse files
committed
implement 11.8 Back to green
1 parent 4453d9f commit 6b267bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PokemonPage.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const PokemonPage = ({ previous, next }) => {
3131
<div className="links">
3232
{previous && <Link to={`/pokemon/${previous.name}`}>Previous</Link>}
3333
<Link to="/">Home</Link>
34-
{next && <Link to={`/pokemon/${previous.name}`}>Next</Link>}
34+
{next && <Link to={`/pokemon/${next.name}`}>Next</Link>}
3535
</div>
3636
<div className={`pokemon-page pokemon-type-${type.name}`}>
3737
<div className="pokemon-image" style={{ backgroundImage: `url(${pokemon.sprites.front_default})` }} />

0 commit comments

Comments
 (0)