diff --git a/example/src/App.tsx b/example/src/App.tsx index d473b3c..29b0341 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -270,8 +270,6 @@ const WalletMethods = () => { const { network, btcAddressInfo, stxAddressInfo, onDisconnect, accountId } = useConnectionContext(); - if (!accountId) return
Error: no account ID set.
; - return ( <>
@@ -294,8 +292,6 @@ const WalletMethods = () => { const BitcoinMethods = () => { const { network, btcAddressInfo, onDisconnect, accountId } = useConnectionContext(); - if (!accountId) return
Error: no account ID set.
; - return ( <> { const StacksMethods = () => { const { network, stxAddressInfo, onDisconnect, accountId } = useConnectionContext(); - if (!accountId) return
Error: no account ID set.
; - return ( <> void; @@ -13,7 +13,7 @@ export const AddressDisplay = ({ accountId, network, addresses, onDisconnect }:

Connected Addresses - ({network})

-

Account: {accountId}

+

Account: {accountId || '-'}

{addresses.map((address) => (