Closed cptPIKARD closed 4 years ago
Same problem here. My component looks like this:
import React, { useEffect } from 'react';
import ReactNotification from 'react-notifications-component';
function AdminSection(...) {
...
return (
<Wrapper width={1600}>
<ReactNotification />
...
</Wrapper>
);
}
So i guess it really is a bug inside the react-notifications-component
.
Ok I think I got it. There was event listener which was not unsubscribed on component unmount. I just posted a pull request that should fix it.
Simetimes I have this warning message (screenshot link below)
https://prnt.sc/pew4j6
I really don't understand why. Maybe it is bug from this plugin (react-notifications-component). My component is: