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 92d6b7b commit f49cc75Copy full SHA for f49cc75
1 file changed
docs/framework/react/guides/disabling-queries.md
@@ -31,13 +31,11 @@ function Todos() {
31
<button onClick={() => refetch()}>Fetch Todos</button>
32
33
{data ? (
34
- <>
35
- <ul>
36
- {data.map((todo) => (
37
- <li key={todo.id}>{todo.title}</li>
38
- ))}
39
- </ul>
40
- </>
+ <ul>
+ {data.map((todo) => (
+ <li key={todo.id}>{todo.title}</li>
+ ))}
+ </ul>
41
) : isError ? (
42
<span>Error: {error.message}</span>
43
) : isLoading ? (
0 commit comments