Remove network label from TabBar (#3142)
This commit is contained in:
parent
34e3c1e0c2
commit
2f665ba115
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user