8000 fix(react): allow using `enabled` when using `useQuery().promise` by arvi18 · Pull Request #7 · coderabbit-test/query · GitHub
[go: up one dir, main page]

Skip to content

fix(react): allow using enabled when using useQuery().promise #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
ci: apply automated fixes
  • Loading branch information
autofix-ci[bot] authored Jan 6, 2025
commit a7994c20520fd03f6c72b36a0820512c2e6f8412
1 change: 0 additions & 1 deletion packages/react-query/src/useBaseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export function useBaseQuery<
),
)


const result = observer.getOptimisticResult(defaultedOptions)

React.useSyncExternalStore(
Expand Down
0