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) => {
|
renderStatusLabel = (label) => {
|
||||||
const { isTest, netChain } = this.props;
|
// const { isTest, netChain } = this.props;
|
||||||
const bubble = (
|
// const bubble = (
|
||||||
<Badge
|
// <Badge
|
||||||
color={ isTest ? 'red' : 'default' }
|
// color={ isTest ? 'red' : 'default' }
|
||||||
className={ styles.labelBubble }
|
// className={ styles.labelBubble }
|
||||||
value={ isTest ? 'TEST' : netChain } />
|
// value={ isTest ? 'TEST' : netChain } />
|
||||||
);
|
// );
|
||||||
|
|
||||||
return this.renderLabel(label, bubble);
|
return this.renderLabel(label, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
onActivate = (activeRoute) => {
|
onActivate = (activeRoute) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user