DA0-DA0/dao-dao-ui

Refactor usages of `useWallet` to use `useProfile` where possible

Opened this issue · 0 comments

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 with useProfile 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.