Skip to content

Commit

Permalink
CR: update
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Apr 25, 2024
1 parent 4623b66 commit 0afd690
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,19 +155,6 @@ const messages = defineMessages({
},
})

export const whetherHasWallets = async (
walletManager: WalletManager,
withWallets: () => void,
withoutWallets: () => void,
) => {
const walletMetas = await walletManager.listWallets()
const hasWallets = walletMetas.length > 0

if (hasWallets) return withWallets()

return withoutWallets()
}

const useStrings = () => {
const intl = useIntl()

Expand Down

0 comments on commit 0afd690

Please sign in to comment.