We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f0167 commit 7770255Copy full SHA for 7770255
src/app/pokedex/page.tsx
@@ -30,12 +30,12 @@ export default function PokemonAPI() {
30
/>
31
<CodeView
32
endpoint={`GET /api/pokemon/charizard`}
33
- code={`fetch("https://pokedex.mimo.dev/api/pokemon/charizard"
34
- .then((res) => res.json())
35
- .then((json) => console.log(json))
36
- .catch((error) => console.error(error))`}
+ code={`fetch("https://pokedex.mimo.dev/api/pokemon/charizard")
+ .then((res) => res.json())
+ .then((json) => console.log(json))
+ .catch((error) => console.error(error))`}
37
38
- <h2 className="text-3xl font-semibold mt-8 mb-2">Example Respond</h2>
+ <h2 className="text-3xl font-semibold mt-8 mb-2">Example Response</h2>
39
<ResponseView endpoint={`GET /api/pokemon/charizard`} />
40
</section>
41
</main>
0 commit comments