If you set a timer for 3 seconds, make sure to catch it and delete it on unMount (3 seconds is enough for a user to navigate away from the page and unmount the CookieToaster. IF the timeout ends, it will try to update the component, which is no longer possible
If you set a timer for 3 seconds, make sure to catch it and delete it on unMount (3 seconds is enough for a user to navigate away from the page and unmount the CookieToaster. IF the timeout ends, it will try to update the component, which is no longer possible
SamJS/src/components/cookieToaster/CookieToaster.js
Line 13 in d2b7a5a