Love this library. One of the most beautiful toast libraries out there.
Just noticed this warning...
Whenever we call toast.drawer(...), it is giving a warning of "Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?".
We are not passing in any refs, it appears to be internal. Stacktrace points to ToastContainer2.
All other toast.success, toast.error works fine without any warnings.
Love this library. One of the most beautiful toast libraries out there.
Just noticed this warning...
Whenever we call
toast.drawer(...), it is giving a warning of "Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?".We are not passing in any refs, it appears to be internal. Stacktrace points to
ToastContainer2.All other
toast.success,toast.errorworks fine without any warnings.