Open fire015 opened 3 months ago
@fire015 Noted. Will update in the next release.
Hey @sivaram000 when will this be released? The errors are super annoying! Thanks
Hi @fire015 Will be picking this up next. Most probably should be resolved by mid of August. Will let you know exact timeline after picking up.
Whenever the toast appears (or upon initial compilation) you get the error when passing in
toastProps
:Warning: Styled(ToastContainer): Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
According to https://github.com/fkhadra/react-toastify/issues/970 this was fixed in v10 so perhaps you need to update the dependency?
Using Next.js v14.2.3 and React 18.
Here is my code: