Skip to content

Commit cb09220

Browse files
committed
Tidy up
1 parent c27aeb3 commit cb09220

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/graph/src/-private/-diff.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { deprecate } from '@ember/debug';
22

3-
import { recordIdentifierFor } from '@ember-data/store';
43
import {
54
DEPRECATE_NON_UNIQUE_PAYLOADS,
65
DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE,
@@ -18,7 +17,6 @@ import replaceRelatedRecord from './operations/replace-related-record';
1817
import replaceRelatedRecords from './operations/replace-related-records';
1918

2019
function _deprecatedCompare<T>(
21-
relationship: CollectionEdge,
2220
priorLocalState: T[] | null,
2321
newState: T[],
2422
newMembers: Set<T>,
@@ -153,7 +151,6 @@ function _deprecatedCompare<T>(
153151
}
154152

155153
function _compare<T>(
156-
relationship: CollectionEdge,
157154
priorLocalState: T[] | null,
158155
finalState: T[],
159156
finalSet: Set<T>,
@@ -277,7 +274,6 @@ export function diffCollection(
277274
if (DEPRECATE_NON_UNIQUE_PAYLOADS) {
278275
if (finalState.length !== finalSet.size) {
279276
const { diff, duplicates } = _deprecatedCompare(
280-
relationship,
281277
priorLocalState,
282278
finalState,
283279
finalSet,
@@ -313,7 +309,6 @@ export function diffCollection(
313309
}
314310

315311
return _compare(
316-
relationship,
317312
priorLocalState,
318313
finalState,
319314
finalSet,

0 commit comments

Comments
 (0)