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

Commit

Permalink
Disable Ledger BNB temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
veado committed Sep 15, 2021
1 parent 2bc2b7b commit 64c12b0
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 @@ -130,7 +130,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
[intl, thorLedgerAddressRD]
)

const bnbLedgerWalletAddress: WalletAddress = useMemo(
// TODO (@asgdx-team) Disable temporary for `v0.4.0`
const _bnbLedgerWalletAddress: WalletAddress = useMemo(
() => ({
type: 'ledger',
address: FP.pipe(
Expand All @@ -151,7 +152,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
const ethWalletAccount$ = walletAccount$({ addressUI$: ethAddressUI$, chain: ETHChain })
const bnbWalletAccount$ = walletAccount$({
addressUI$: bnbAddressUI$,
ledgerAddress: bnbLedgerWalletAddress,
// TODO (@asgdx-team) Disable temporary for `v0.4.0`
// ledgerAddress: bnbLedgerWalletAddress,
chain: BNBChain
})
const bchWalletAccount$ = walletAccount$({ addressUI$: bchAddressUI$, chain: BCHChain })
Expand All @@ -178,7 +180,8 @@ export const WalletSettingsView: React.FC = (): JSX.Element => {
btcAddressUI$,
ethAddressUI$,
bnbAddressUI$,
bnbLedgerWalletAddress,
// TODO (@asgdx-team) Disable temporary for `v0.4.0`
// bnbLedgerWalletAddress,
bchAddressUI$,
ltcAddressUI$
])
Expand Down

0 comments on commit 64c12b0

Please sign in to comment.