test
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
"use client"
|
||||
|
||||
// Totally unnecessary hook, but it's a good example of how to use a hook in a custom registry.
|
||||
|
||||
export function usePokemonImage(number: number) {
|
||||
return `https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/${number}.png`
|
||||
}
|
||||
Reference in New Issue
Block a user