Remove network label from TabBar (#3142)

This commit is contained in:
Jaco Greeff 2016-11-03 20:17:59 +01:00 committed by Gav Wood
parent 34e3c1e0c2
commit 2f665ba115

View File

@ -149,15 +149,15 @@ class TabBar extends Component {
}
renderStatusLabel = (label) => {
const { isTest, netChain } = this.props;
const bubble = (
<Badge
color={ isTest ? 'red' : 'default' }
className={ styles.labelBubble }
value={ isTest ? 'TEST' : netChain } />
);
// const { isTest, netChain } = this.props;
// const bubble = (
// <Badge
// color={ isTest ? 'red' : 'default' }
// className={ styles.labelBubble }
// value={ isTest ? 'TEST' : netChain } />
// );
return this.renderLabel(label, bubble);
return this.renderLabel(label, null);
}
onActivate = (activeRoute) => {