Skip to content

Commit

Permalink
Revert toString for key in users
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Oct 9, 2023
1 parent 20592d1 commit dd572d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cra-react-router/src/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function Users() {
<tbody>
{users.map(
({ name, email }: { name: string; email: string }, i: number) => (
<tr key={i.toString()}>
<tr key={i}>
<td>{name}</td>
<td>{email}</td>
</tr>
Expand Down

0 comments on commit dd572d2

Please sign in to comment.