diff --git a/tslib/react/src/utils/graph.ts b/tslib/react/src/utils/graph.ts index 8724b6e3..e996431e 100644 --- a/tslib/react/src/utils/graph.ts +++ b/tslib/react/src/utils/graph.ts @@ -13,7 +13,7 @@ export type AxisInfo = { // biome-ignore lint/suspicious/noExplicitAny: Accept any array. const unique = (array: any[]) => { const knownElements = new Map() - for (const e of someArray) { + for (const e of array) { knownElements.set(e, true) } return Array.from(knownElements.keys())