Update ledger help link to kb

This commit is contained in:
Will O'Beirne 2018-05-23 15:33:52 -04:00
parent a8cd2f5f53
commit fc6d0d7270
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6
2 changed files with 5 additions and 4 deletions

View File

@ -3,10 +3,10 @@ import translate, { translateRaw } from 'translations';
import DeterministicWalletsModal from './DeterministicWalletsModal';
import UnsupportedNetwork from './UnsupportedNetwork';
import { LedgerWallet } from 'libs/wallet';
import { Spinner, NewTabLink } from 'components/ui';
import { Spinner, NewTabLink, HelpLink } from 'components/ui';
import { connect } from 'react-redux';
import { AppState } from 'reducers';
import { SecureWalletName, ledgerReferralURL } from 'config';
import { SecureWalletName, ledgerReferralURL, HELP_ARTICLE } from 'config';
import { getPaths, getSingleDPath } from 'selectors/config/wallet';
import { getNetworkConfig } from 'selectors/config';
import { NetworkConfig } from 'types/network';
@ -100,9 +100,9 @@ class LedgerNanoSDecryptClass extends PureComponent<Props, State> {
<div className={`LedgerDecrypt-error alert alert-danger ${showErr}`}>{error || '-'}</div>
<div className="LedgerDecrypt-help">
<NewTabLink href="https://support.ledgerwallet.com/hc/en-us/articles/115005200009">
<HelpLink article={HELP_ARTICLE.HOW_TO_USE_LEDGER}>
{translate('HELP_ARTICLE_1')}
</NewTabLink>
</HelpLink>
</div>
<DeterministicWalletsModal

View File

@ -9,6 +9,7 @@ export enum HELP_ARTICLE {
ADDING_NEW_TOKENS = 'tokens/adding-new-token-and-sending-custom-tokens.html',
HARDWARE_WALLET_RECOMMENDATIONS = 'hardware-wallets/hardware-wallet-recommendations.html',
SENDING_TO_TREZOR = 'hardware-wallets/trezor-sending-to-trezor-device.html',
HOW_TO_USE_LEDGER = 'accessing-your-wallet/how-to-use-your-ledger-with-mycrypto.html',
SECURING_YOUR_ETH = 'security/securing-your-ethereum.html',
PROTECT_YOUR_FUNDS = 'getting-started/protecting-yourself-and-your-funds.html',
WHAT_IS_NONCE = 'transactions/what-is-nonce.html',