()
| 20 | const PokemonIdContext = createContext<() => string>() |
| 21 | |
| 22 | const usePokemonID = () => { |
| 23 | const id = useContext(PokemonIdContext) |
| 24 | if (!id) throw new Error('PokemonIdContext not found') |
| 25 | return id |
| 26 | } |
| 27 | |
| 28 | const MAX_POKEMONS = 100 |
| 29 |
no outgoing calls
no test coverage detected
searching dependent graphs…