diff --git a/packages/ui-components/src/icon/labicon.tsx b/packages/ui-components/src/icon/labicon.tsx index 29b7f801b4cf..5bf27584e2eb 100644 --- a/packages/ui-components/src/icon/labicon.tsx +++ b/packages/ui-components/src/icon/labicon.tsx @@ -216,7 +216,7 @@ export class LabIcon implements LabIcon.ILabIcon, VirtualElement.IRenderer { }: { name: string; fallback?: LabIcon } & LabIcon.IReactProps) { for (let className of name.split(/\s+/)) { if (LabIcon._instancesByNameAndClassName.has(className)) { - const icon = LabIcon._instances.get(className)!; + const icon = LabIcon._instancesByNameAndClassName.get(className)!; return ; } }