Skip to content

Commit 3a3f693

Browse files
committed
fix: typo
1 parent 97e9219 commit 3a3f693

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/TabBarMixin.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ export default {
1313
this.props.onTabClick(key);
1414
},
1515
getTabs() {
16-
const { panels, activeKey, prefixCls } = this.props;
17-
const { children } = panels;
16+
const { panels: children, activeKey, prefixCls } = this.props;
1817
const rst = [];
1918

2019
React.Children.forEach(children, (child) => {

0 commit comments

Comments
 (0)