Skip to content

Conversation

madhurjain
Copy link

If the server returns a Non-Ok HTTP status code (anything below 200 or above 299), then an error toast will be displayed. Not sure if the error should include the statusText (provides limited information), response text (might be too verbose?).

Note: I am not a typescript/javascript expert, kindly review and I would be happy to make more changes.

@vercel
Copy link

vercel bot commented May 29, 2022

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

Name Status Preview Updated
react-hot-toast ✅ Ready (Inspect) Visit Preview Dec 30, 2022 at 5:48AM (UTC)

@maciejstepie
Copy link

It would be great to add this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants