Skip to content

Commit

Permalink
followup jupyterlab#7767: small bugfix to lookup in UNSTABLE_getReact
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Feb 4, 2020
1 parent 0c609d6 commit 687c259
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 687c259

Please sign in to comment.