MCPcopy Create free account
hub / github.com/TanStack/query / mutationDateSort

Function mutationDateSort

packages/query-devtools/src/utils.tsx:165–166  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

163 : 3
164
165const mutationDateSort: MutationSortFn = (a, b) =>
166 a.state.submittedAt < b.state.submittedAt ? 1 : -1
167
168const mutationStatusSort: MutationSortFn = (a, b) => {
169 if (getMutationStatusRank(a) === getMutationStatusRank(b)) {

Callers 2

mutationStatusSortFunction · 0.85
utils.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected