|
|
@ -226,10 +226,9 @@ export default class NetworksTab extends PureComponent { |
|
|
|
const { |
|
|
|
const { |
|
|
|
setNetworksTabAddMode, |
|
|
|
setNetworksTabAddMode, |
|
|
|
setSelectedSettingsRpcUrl, |
|
|
|
setSelectedSettingsRpcUrl, |
|
|
|
networkIsSelected, |
|
|
|
|
|
|
|
networksTabIsInAddMode, |
|
|
|
|
|
|
|
history, |
|
|
|
history, |
|
|
|
isFullScreen, |
|
|
|
isFullScreen, |
|
|
|
|
|
|
|
shouldRenderNetworkForm, |
|
|
|
} = this.props |
|
|
|
} = this.props |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
@ -237,7 +236,7 @@ export default class NetworksTab extends PureComponent { |
|
|
|
{isFullScreen && this.renderSubHeader()} |
|
|
|
{isFullScreen && this.renderSubHeader()} |
|
|
|
<div className="networks-tab__content"> |
|
|
|
<div className="networks-tab__content"> |
|
|
|
{this.renderNetworksTabContent()} |
|
|
|
{this.renderNetworksTabContent()} |
|
|
|
{!networkIsSelected && !networksTabIsInAddMode |
|
|
|
{!isFullScreen && !shouldRenderNetworkForm |
|
|
|
? ( |
|
|
|
? ( |
|
|
|
<div className="networks-tab__add-network-button-wrapper"> |
|
|
|
<div className="networks-tab__add-network-button-wrapper"> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|