Skip to content

Commit

Permalink
Remove unused method arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Jun 1, 2023
1 parent de6594b commit cd6f6e8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/relay-runtime/store/RelayResponseNormalizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class RelayResponseNormalizer {
switch (selection.kind) {
case SCALAR_FIELD:
case LINKED_FIELD:
this._normalizeField(node, selection, record, data);
this._normalizeField(selection, record, data);
break;
case CONDITION:
const conditionValue = Boolean(
Expand Down Expand Up @@ -301,7 +301,7 @@ class RelayResponseNormalizer {
});
break;
case MODULE_IMPORT:
this._normalizeModuleImport(node, selection, record, data);
this._normalizeModuleImport(selection, record, data);
break;
case DEFER:
this._normalizeDefer(selection, record, data);
Expand All @@ -322,7 +322,7 @@ class RelayResponseNormalizer {
this._traverseSelections(selection.fragment, record, data);
break;
case ACTOR_CHANGE:
this._normalizeActorChange(node, selection, record, data);
this._normalizeActorChange(selection, record, data);
break;
case RELAY_RESOLVER:
this._normalizeResolver(selection, record, data);
Expand Down Expand Up @@ -422,7 +422,6 @@ class RelayResponseNormalizer {
}

_normalizeModuleImport(
parent: NormalizationNode,
moduleImport: NormalizationModuleImport,
record: Record,
data: PayloadData,
Expand Down Expand Up @@ -464,7 +463,6 @@ class RelayResponseNormalizer {
}

_normalizeField(
parent: NormalizationNode,
selection: NormalizationLinkedField | NormalizationScalarField,
record: Record,
data: PayloadData,
Expand Down Expand Up @@ -556,7 +554,6 @@ class RelayResponseNormalizer {
}

_normalizeActorChange(
parent: NormalizationNode,
selection: NormalizationActorChange,
record: Record,
data: PayloadData,
Expand Down

0 comments on commit cd6f6e8

Please sign in to comment.