Skip to content

Commit

Permalink
remove now-obsolete logic
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Aug 28, 2022
1 parent def2fe6 commit d8a8cc7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/toolkit/src/query/core/buildSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,7 @@ export function buildSlice({
draft,
meta.arg.queryCacheKey,
(substate) => {
if (substate.requestId !== meta.requestId) {
if (
substate.fulfilledTimeStamp &&
meta.fulfilledTimeStamp < substate.fulfilledTimeStamp
) {
return
}
}
if (substate.requestId !== meta.requestId) return
const { merge } = definitions[
meta.arg.endpointName
] as QueryDefinition<any, any, any, any>
Expand Down

0 comments on commit d8a8cc7

Please sign in to comment.