stop probable source of 504 toasts

This commit is contained in:
k00b 2024-12-01 17:01:02 -06:00
parent 7f11792111
commit 8595a2b8b0
1 changed files with 3 additions and 2 deletions

View File

@ -285,8 +285,9 @@ export function useZap () {
return
}
const reason = error?.message || error?.toString?.()
toaster.danger(reason)
// TODO: we should selectively toast based on error type
// but right now this toast is noisy for optimistic zaps
console.error(error)
}
}, [act, toaster, strike, wallets.length])
}