Skip to content

Commit 5525694

Browse files
committed
chore: delete left-over comment
1 parent e410e31 commit 5525694

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/react-query/src/useBaseQuery.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ export function useBaseQuery<
100100

101101
// Handle suspense
102102
if (shouldSuspend(defaultedOptions, result)) {
103-
// Do the same thing as the effect right above because the effect won't run
104-
// when we suspend but also, the component won't re-mount so our observer would
105-
// be out of date.
106103
throw fetchOptimistic(defaultedOptions, observer, errorResetBoundary)
107104
}
108105

0 commit comments

Comments
 (0)