CirclesUBI / circles-groups-safe-app

[DEPRECATED] Mint Circles group tokens using this Safe app
https://groups.circlesubi.dev/
1 stars 1 forks source link

Bug/164 transaction confirmed toast not working properly #168

Closed tloffler closed 1 year ago

tloffler commented 1 year ago

Related #164

Toast bug This PR solves the issue that Toasts doesn't hides itself after a preset time. It seems there is a bug in the react-hot-toast component (https://github.com/timolins/react-hot-toast/issues/192) that after toast.remove(t.id), other toasts never disappear. I've changed toast.remove to toast.dismiss to solve this problem. But with dismiss, custom toasts doesn't close immediately after clicking the X. It has a delay (https://github.com/timolins/react-hot-toast/issues/199). I had to add a enter and exit animation so it doesn't looks like an error.

Toast links doesn't work yet. It will be solved in another PR.

How to Test

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
circles-groups-safe-app ✅ Ready (Inspect) Visit Preview Aug 5, 2022 at 1:10PM (UTC)