Skip to content

Commit

Permalink
🐛 Show hw wallet login link only if Trezor enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed May 9, 2019
1 parent 8a289ba commit 7612746
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/splashscreen/splashscreen.js
Expand Up @@ -85,11 +85,13 @@ class Splashscreen extends React.Component {
</Tooltip>
</span>

{localStorage.getItem('trezor') ?
<span className={styles.linkWrapper}>
<Link className={`${styles.link} signin-hwWallet-button`} to={routes.hwWalletV2.path}>
{t('Sign in with a Hardware Wallet')}
</Link>
</span>
</span> :
null}
</div>
</div>
</React.Fragment>
Expand Down

0 comments on commit 7612746

Please sign in to comment.