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 19d725b commit 3d47bbeCopy full SHA for 3d47bbe
packages/toolkit/src/query/react/buildHooks.ts
@@ -542,10 +542,7 @@ export function buildHooks<Definitions extends EndpointDefinitions>({
542
endpointName,
543
})
544
)
545
- return {
546
- isFetching: false,
547
- ...currentState,
548
- }
+ lastResult = undefined
549
}
550
551
// data is the last known good request result we have tracked - or if none has been tracked yet the last good result for the current args
0 commit comments