Closed garand closed 3 years ago
Ah, it looks like there hasn't been a new version published since that. That would probably be why.
@timolins Will we get a new release with this fix soon? :pray:
You can try out react-hot-toast@2.0.0-beta.0
which includes this fix :) Will be publicly released after I gather some feedback.
Fix is out now with 2.0.0!
The exact same issue of is occurring in 2.2.0
@shubham-mcsam Can you share an example that reproduces this issue?
@timolins My bad, it's working as expected. I was writing Infinity as a string! Thanks for your work on the library
Hey! I saw this PR https://github.com/timolins/react-hot-toast/pull/37 and tried out a duration of
Infinity
, but it is just causing the toast to dismiss instantly.I've put together a CodeSandbox that reproduces the behavior. Any ideas?
https://codesandbox.io/s/pedantic-framework-c3v0x?file=/src/App.js