diff --git a/src/TabBar.js b/src/TabBar.js index 3e0b6947b..b0b09286e 100644 --- a/src/TabBar.js +++ b/src/TabBar.js @@ -45,14 +45,14 @@ export default class extends Component { style={{ flex:1 }} renderScene={this._renderScene} /> - {!hideTabBar && state.children.filter(el => el.icon).length > 0 && el.icon).length > 0 && (state.renderTabs ? state.renderTabs(state) : {state.children.filter(el => el.icon || this.props.tabIcon).map(el => { const Icon = el.icon || this.props.tabIcon; return ; })} - } + )} ); }