xiaoluoboding / vue-sonner

🔔 An opinionated toast component for Vue.
https://vue-sonner.vercel.app
MIT License
803 stars 41 forks source link

toast.promise renders 3 toasts on resolve #34

Closed warflash closed 10 months ago

warflash commented 10 months ago

Hey, really enjoying the package so far! When switching over our existing toasts to this package I noticed that after a toast.promise resolves the promise there's 3 toasts instead of one success toast like this: image

Reproduction: https://stackblitz.com/edit/github-zwebrm?file=plugins%2Fsonner.client.ts,package.json,app.vue,nuxt.config.ts

xiaoluoboding commented 10 months ago

Thank you for bringing this issue to my attention. I have reviewed the reproduction results and I will handle it as soon as possible.

xiaoluoboding commented 10 months ago

fixed #35

BayBreezy commented 10 months ago

Thanks for the fix