react-hot-toast icon indicating copy to clipboard operation
react-hot-toast copied to clipboard

How to use toast.promise but don't need error

Open QuangNguyen1607 opened this issue 1 year ago • 1 comments

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.

QuangNguyen1607 avatar Sep 11 '24 13:09 QuangNguyen1607

so pass an empty handler

error: () => {}

fellypsantos avatar Sep 11 '24 16:09 fellypsantos

#179

n33pm avatar Nov 08 '24 11:11 n33pm

Closing in favour of #42 and matching PR #179

timolins avatar Dec 21 '24 10:12 timolins