Skip to content

Commit

Permalink
Update apps/wallet-mobile/src/features/ReviewTx/common/hooks/useAddre…
Browse files Browse the repository at this point in the history
…ssType.tsx

Signed-off-by: banklesss <[email protected]>
  • Loading branch information
banklesss authored Sep 22, 2024
1 parent daecf73 commit 6f48aa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export const useAddressType = (address: string) => {
suspense: true,
})

if (query.data === undefined) throw new Error('invalid formatted outputs')
if (query.data === undefined) throw new Error('invalid address type')
return query.data
}

0 comments on commit 6f48aa8

Please sign in to comment.