Updating loading toast is dismissed instantly
Closed this issue · 2 comments
devgauravjatt commented
toast.loading('Loading...')
How to Stop this toast
wobsoriano commented
You will need to update the toast:
const id = toast.loading('Please wait...')
setTimeout(() => {
toast.success('Success!', { id })
}, 3000)
However, during testing, I also encountered this bug - - emilkowalski/sonner#201
devgauravjatt commented
Thanks 😊