Refactor usages of useWallet
to use useProfile
where possible
#1744
Labels
tech debt
Tech debt that needs to be paid
useWallet
to use useProfile
where possible
#1744
Now that users register accounts on their profile, we don't need to ask the wallet to connect every time we want to fetch the address or public key for a given chain. We can replace a lot of
useWallet
usages withuseProfile
to make the UI faster and lessen dependence on the wallet. This is especially relevant when using mobile wallets, since the UI will often randomly open the mobile wallet to connect to a chain in order to retrieve an address.The text was updated successfully, but these errors were encountered: