Open winston0410 opened 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
svelte-french-toast | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Feb 8, 2023 at 9:38PM (UTC) |
@kbrgl what do you think about this?
This PR aims to solve the following issues for
toast.promise
support dynamic toast message based on promise's result, fallback to the static message provided initially
handle edge case where
toast.loading
has been set with{duration: Infinity}
, andtoast.success
andtoast.error
will not go away as wellThe only thing that I am not sure is why is
resolveValue
function used there previously.