Skip to content

Commit

Permalink
Merge pull request #7846 from telamonian/fix-launcher-icon-lookup
Browse files Browse the repository at this point in the history
followup #7767: small bugfix to lookup in UNSTABLE_getReact
  • Loading branch information
Steven Silvester committed Feb 4, 2020
2 parents 0c609d6 + 687c259 commit ff5db65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-components/src/icon/labicon.tsx
Expand Up @@ -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 <icon.react {...props} />;
}
}
Expand Down

0 comments on commit ff5db65

Please sign in to comment.