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 931ff39 commit 72cc85bCopy full SHA for 72cc85b
packages/toolkit/src/query/react/buildHooks.ts
@@ -1688,7 +1688,6 @@ export function buildHooks<Definitions extends EndpointDefinitions>({
1688
useEffect(() => {
1689
return () => {
1690
promiseRef.current?.unsubscribe?.()
1691
- // eslint-disable-next-line react-hooks/exhaustive-deps
1692
;(promiseRef.current as any) = undefined
1693
}
1694
}, [promiseRef])
0 commit comments