Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheyenbrock committed May 6, 2024
1 parent c52b5d3 commit a4b01ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql-react/src/execution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function mergeIncrementalResult(
for (const item of incrementalResult.items) {
setValue(executionResult, path.join('.'), item);
// Increment the last path segment (the array index) to merge the next item at the next index
(path.at(-1) as number)++;
(path.at(-1) as number) += 1;
}
}

Expand Down

0 comments on commit a4b01ba

Please sign in to comment.