Skip to content

Commit

Permalink
Improve code snippet in api-fetching.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasgasco committed Feb 27, 2025
1 parent 3986de6 commit d0e5bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/documentation/tutorial/api-fetching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default function IndexPage({
</div>
<ul style={{ flexWrap: 'wrap', display: 'flex', gap: 10 }}>
{data.results.map((pokemon, i) => (
<li key={i + 1}>{pokemon.name}</li>
<li key={pokemon.name} style={{ marginLeft: '16px' }}>{pokemon.name}</li>
))}
</ul>
</>
Expand Down

0 comments on commit d0e5bd7

Please sign in to comment.