Skip to content

Commit

Permalink
reenabled the list button for ledger accounts (#667)
Browse files Browse the repository at this point in the history
* reenabled the list button for ledger accounts

* Update src/app/screens/coinDashboard/coinHeader.tsx

Co-authored-by: Den <[email protected]>

---------

Co-authored-by: Den <[email protected]>
  • Loading branch information
DuskaT021 and dhriaznov authored Oct 8, 2024
1 parent 7e9abfc commit 62ea3f3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/app/screens/coinDashboard/coinHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type Props = {

export default function CoinHeader({ currency, fungibleToken }: Props) {
const selectedAccount = useSelectedAccount();
const { fiatCurrency, network, selectedAccountType } = useWalletSelector();
const { fiatCurrency, network } = useWalletSelector();
const { data: btcBalance } = useBtcWalletData();
const { data: stxData } = useStxWalletData();
const { btcFiatRate, stxBtcRate } = useCoinRates();
Expand All @@ -70,9 +70,7 @@ export default function CoinHeader({ currency, fungibleToken }: Props) {
const showRunesListing =
(useHasFeature(FeatureId.RUNES_LISTING) || process.env.NODE_ENV === 'development') &&
network.type === 'Mainnet' &&
fungibleToken?.protocol === 'runes' &&
// TODO: remove this once we implement ledger batch PSBT signing flow
selectedAccountType !== 'ledger';
fungibleToken?.protocol === 'runes';

const handleReceiveModalOpen = () => {
setOpenReceiveModal(true);
Expand Down

0 comments on commit 62ea3f3

Please sign in to comment.