Skip to content

Commit a3336e6

Browse files
committed
fix bug in tabbar caused by updated hpass() syntax
1 parent 000a313 commit a3336e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/widgets/src/tabbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,7 @@ namespace TabBar {
13441344
let className = this.createIconClass(data);
13451345

13461346
if (title.iconRenderer) {
1347-
return hpass(title.iconRenderer, 'div');
1347+
return hpass('div', title.iconRenderer);
13481348
} else {
13491349
return h.div({className}, data.title.iconLabel);
13501350
}

0 commit comments

Comments
 (0)