Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Disable Ledger TC temporarily (#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
veado authored Oct 5, 2021
1 parent 6ec1938 commit 2953166
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/renderer/views/wallet/WalletSettingsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
}
}

const thorLedgerWalletAddress: WalletAddress = useMemo(
// Disable TC Ledger temporarily #1822
const _thorLedgerWalletAddress: WalletAddress = useMemo(
() => ({
type: 'ledger',
address: FP.pipe(
Expand All @@ -144,7 +145,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
const walletAccounts$ = useMemo(() => {
const thorWalletAccount$ = walletAccount$({
addressUI$: thorAddressUI$,
ledgerAddress: thorLedgerWalletAddress,
// Disable TC Ledger temporarily #1822
// ledgerAddress: thorLedgerWalletAddress,
chain: THORChain
})
const btcWalletAccount$ = walletAccount$({ addressUI$: btcAddressUI$, chain: BTCChain })
Expand Down Expand Up @@ -174,7 +176,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
)
}, [
thorAddressUI$,
thorLedgerWalletAddress,
// Disable TC Ledger temporarily #1822
// thorLedgerWalletAddress,
btcAddressUI$,
ethAddressUI$,
bnbAddressUI$,
Expand Down

0 comments on commit 2953166

Please sign in to comment.