Closed esau-morais closed 11 months ago
can you use https://stackblitz.com/ to create a repro?
in my case works correctly
can you use https://stackblitz.com/ to create a repro?
i'm sorry, i wouldn't get to do that once it is a private project by my company. i'll try to figure it out what could be possible cause and create a repro. thanks in advance
I created a minimal repro here: https://stackblitz.com/edit/vitejs-vite-1ko9ut?file=package.json,src%2FApp.tsx&terminal=dev
not sure that you can edit or not, still, works.
the only difference we usually use a custom hook that it is reused in many files and display the toast relying on async requests, so it might be the issue, once it is probably not awaiting it to finish
you remind me that I should add an API like destroyToast(id)
,
I saw you use React, so try this one https://github.com/emilkowalski/sonner, looks better.
closing for now as we decide to use another lib, thank you
v1.8.0