Skip to content

Commit

Permalink
chore: remove redundant coalesce
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Jan 12, 2025
1 parent 4dec34c commit 1d9cd18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/context/WalletProvider/Ledger/components/Chains.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export const LedgerChains = () => {

const handleConnectClick = useCallback(
async (chainId: ChainId) => {
const { wallet, deviceId } = walletState ?? {}
const { wallet, deviceId } = walletState

if (!wallet || !deviceId) {
console.error('No wallet found')
return
Expand Down

0 comments on commit 1d9cd18

Please sign in to comment.