Skip to content

Commit ba4c2aa

Browse files
authored
Merge pull request #3 from telamonian/patch-1
Use `<icon-instance>.element`, never use `LabIcon.resolveElement`
2 parents cb52d5d + 3e92a06 commit ba4c2aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/unfold.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ export class FileTreeRenderer extends DirListing.Renderer {
151151
'jp-DirListing-itemIcon'
152152
);
153153

154-
LabIcon.resolveElement({
155-
icon: folderOpenIcon,
154+
folderOpenIcon.element({
156155
iconClass: classes('jp-Icon'),
157156
container: iconContainer,
158157
className: 'jp-DirListing-itemIcon',

0 commit comments

Comments
 (0)