stop probable source of 504 toasts
This commit is contained in:
parent
7f11792111
commit
8595a2b8b0
|
@ -285,8 +285,9 @@ export function useZap () {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const reason = error?.message || error?.toString?.()
|
// TODO: we should selectively toast based on error type
|
||||||
toaster.danger(reason)
|
// but right now this toast is noisy for optimistic zaps
|
||||||
|
console.error(error)
|
||||||
}
|
}
|
||||||
}, [act, toaster, strike, wallets.length])
|
}, [act, toaster, strike, wallets.length])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue