react-hot-toast
react-hot-toast copied to clipboard
How to use toast.promise but don't need error
Hello everyone, how can i use toast.promise but don't use error because i handled it error by axios.interceptors.response so i don't need it in toast.promise.
so pass an empty handler
error: () => {}
#179
Closing in favour of #42 and matching PR #179