Skip to content

Commit f49cc75

Browse files
authored
docs: Remove fragment in disabling-queries guide (#9619)
Fragment is not needed here
1 parent 92d6b7b commit f49cc75

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/framework/react/guides/disabling-queries.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ function Todos() {
3131
<button onClick={() => refetch()}>Fetch Todos</button>
3232

3333
{data ? (
34-
<>
35-
<ul>
36-
{data.map((todo) => (
37-
<li key={todo.id}>{todo.title}</li>
38-
))}
39-
</ul>
40-
</>
34+
<ul>
35+
{data.map((todo) => (
36+
<li key={todo.id}>{todo.title}</li>
37+
))}
38+
</ul>
4139
) : isError ? (
4240
<span>Error: {error.message}</span>
4341
) : isLoading ? (

0 commit comments

Comments
 (0)