react-mathjax icon indicating copy to clipboard operation
react-mathjax copied to clipboard

fixed issue with setState after component unloaded

Open GerryFudd opened this issue 6 years ago • 0 comments

I was seeing an issue when a node would unload while the loadScript promise was active. I added a check for this to keep the onLoad method from trying to set the state of an unmounted component.

GerryFudd avatar Jun 29 '19 01:06 GerryFudd