remove failed to load profile notification
This commit is contained in:
parent
9d38639ec7
commit
96056c7ebd
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue