remove failed to load profile notification

This commit is contained in:
saml33 2023-03-29 20:40:28 +11:00
parent 9d38639ec7
commit 96056c7ebd
2 changed files with 1 additions and 3 deletions

View File

@ -34,7 +34,7 @@ const ConnectedMenu = () => {
const onConnectFetchAccountData = async (wallet: Wallet) => {
if (!wallet.adapter.publicKey) return
await actions.fetchMangoAccounts(wallet.adapter.publicKey)
actions.fetchTourSettings(wallet.adapter.publicKey?.toString() as string)
// actions.fetchTourSettings(wallet.adapter.publicKey?.toString() as string)
actions.fetchWalletTokens(wallet.adapter.publicKey)
}

View File

@ -914,7 +914,6 @@ const mangoStore = create<MangoStore>()(
state.profile.loadDetails = false
})
} catch (e) {
notify({ type: 'error', title: 'Failed to load profile details' })
console.error(e)
set((state) => {
state.profile.loadDetails = false
@ -936,7 +935,6 @@ const mangoStore = create<MangoStore>()(
state.settings.loading = false
})
} catch (e) {
notify({ type: 'error', title: 'Failed to load profile details' })
console.error(e)
set((state) => {
state.settings.loading = false