diff --git a/typescript/packages/group-tree-plot/src/utils/DataAssembler.ts b/typescript/packages/group-tree-plot/src/utils/DataAssembler.ts index b40076580..d476db739 100644 --- a/typescript/packages/group-tree-plot/src/utils/DataAssembler.ts +++ b/typescript/packages/group-tree-plot/src/utils/DataAssembler.ts @@ -142,10 +142,10 @@ export class DataAssembler { getPropertyInfo(propertyKey: string): [label: string, unit: string] { const [label, unit] = this._propertyToLabelMap.get(propertyKey) ?? []; - const sanitzedLabel = _.upperFirst(label ?? ""); - const sanitzedUnit = unit ?? "?"; + const sanitizedLabel = _.upperFirst(label ?? ""); + const sanitizedUnit = unit ?? "?"; - return [sanitzedLabel, sanitzedUnit]; + return [sanitizedLabel, sanitizedUnit]; } /**