Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders2303 committed Jan 29, 2025
1 parent a5dbc90 commit 3acdf35
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

/**
Expand Down

0 comments on commit 3acdf35

Please sign in to comment.