Skip to content

Commit

Permalink
reduce size
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenz Weber committed Nov 26, 2021
1 parent 19d725b commit 3d47bbe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/toolkit/src/query/react/buildHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,7 @@ export function buildHooks<Definitions extends EndpointDefinitions>({
endpointName,
})
)
return {
isFetching: false,
...currentState,
}
lastResult = undefined
}

// 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
Expand Down

0 comments on commit 3d47bbe

Please sign in to comment.