Skip to content

Commit

Permalink
Remove xdai link on sidebar (#2372)
Browse files Browse the repository at this point in the history
* better code in schemeName function

* remove switch to xdai button on sidebar
  • Loading branch information
roienatan authored Dec 23, 2020
1 parent f68c1ab commit 6131b5a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/layouts/SidebarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ class SidebarMenu extends React.Component<IProps, IStateProps> {
<li><a className="externalLink"
href={(network === "main") ? process.env.ALCHEMY_V2_URL_MAINNET : process.env.ALCHEMY_V2_URL_XDAI}
target="_blank" rel="noopener noreferrer">Switch to v2</a></li>
{(network === "main") ?
<li><a className="externalLink" href={process.env.ALCHEMY_V1_URL_XDAI} target="_blank" rel="noopener noreferrer">Switch to xDAI</a></li>
: (network === "xdai") ?
<li><a className="externalLink" href={process.env.ALCHEMY_V1_URL_MAINNET} target="_blank" rel="noopener noreferrer">Switch to Mainnet</a></li>
: ""
}
</>
}
<li className={css.daoStack}>
Expand Down

0 comments on commit 6131b5a

Please sign in to comment.