- commit
- 6871f66
- parent
- 76ffa37
- author
- Eric Bower
- date
- 2023-11-23 02:48:50 +0000 UTC
docs: readme
1 files changed,
+1,
-1
+1,
-1
1@@ -141,7 +141,7 @@ function App() {
2
3 return (
4 <div>
5- {users.map((u) => <div>{u.name}</div>)}
6+ {users.map((u) => <div key={u.id}>{u.name}</div>)}
7 <div>
8 <button onClick={api.trigger()}>fetch users</button>
9 {api.isLoading ? <div>Loading ...</div> : null}