Skip to content

Commit

Permalink
fix: review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick1904 committed Apr 1, 2022
1 parent 623b8fb commit 9ee2476
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const StyledContainer = styled.div`
}
`;

const getWalletURLString = () => <><span>https://</span><span>{getWalletURL(false)}</span></>;
const WalletURLString = () => <><span>https://</span><span>{getWalletURL(false)}</span></>;

export default () => {
return (
Expand All @@ -61,13 +61,13 @@ export default () => {
<LockIcon color='#00C08B' />
<Translate id='verifyWalletDomainBanner.title' />
&nbsp;
{getWalletURLString()}
<WalletURLString/>
</div>
<div className='mobile'>
<Translate id='verifyWalletDomainBanner.title' />
<div>
<LockIcon color='#00C08B' />
{getWalletURLString()}
<WalletURLString/>
</div>
</div>
</StyledContainer>
Expand Down
3 changes: 1 addition & 2 deletions packages/frontend/src/utils/getWalletURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export default (https = true) => {

if (SHOW_PRERELEASE_WARNING) {
networkName = 'staging.';
}
if (!IS_MAINNET) {
} else if (!IS_MAINNET) {
networkName = 'testnet.';
}

Expand Down

0 comments on commit 9ee2476

Please sign in to comment.