Skip to content

Commit

Permalink
fix: remove ledger for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Jan 14, 2021
1 parent eb91670 commit 065a711
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/pages/onboarding/02-create-wallet/create-wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from '@components/onboarding';
import { useBackButton } from '@hooks/use-back-url';
import { openExternalLink } from '@utils/external-links';
import { TREZOR_HELP_URL } from '@constants/index';
import { TREZOR_HELP_URL, NETWORK } from '@constants/index';

export const CreateWallet: React.FC = () => {
const dispatch = useDispatch();
Expand All @@ -35,9 +35,11 @@ export const CreateWallet: React.FC = () => {
Please choose whether you’d like to connect a Ledger hardware wallet or to create a software
wallet
</OnboardingText>
<OnboardingButton mt="extra-loose" onClick={() => history.push(routes.CONNECT_LEDGER)}>
Use a Ledger wallet
</OnboardingButton>
{NETWORK === 'mainnet' && (
<OnboardingButton mt="extra-loose" onClick={() => history.push(routes.CONNECT_LEDGER)}>
Use a Ledger wallet
</OnboardingButton>
)}

<OnboardingButton onClick={createSoftwareWallet} mode="secondary">
Create a software wallet
Expand Down

0 comments on commit 065a711

Please sign in to comment.