Skip to content

Commit

Permalink
terminado
Browse files Browse the repository at this point in the history
  • Loading branch information
jaenfigueroa committed Jan 5, 2023
1 parent f2515c9 commit 8baf775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pokemon/Pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Pokemon = ({idPokemon, cargando, setCargando, pokemon, setPokemon})

const traerNombres = async ()=>{
//escoger un numero
let numero = Math.floor(Math.random() * (900 - 1) + 1)
let numero = Math.floor(Math.random() * (892 - 1) + 1)

//moverme a esa pagina
navigate(`/pokemon/${numero}`)
Expand Down

0 comments on commit 8baf775

Please sign in to comment.