Skip to content

Commit

Permalink
chore: delete left-over comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Aug 2, 2024
1 parent e410e31 commit 5525694
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/react-query/src/useBaseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ export function useBaseQuery<

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

Expand Down

0 comments on commit 5525694

Please sign in to comment.