You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you log out while the <EasterEggUsername/> is active, there is a memory leak because the colors are trying to toggle while the component is unmounted.
Doing this will probably involve using the useIsFocused() hook and wrapping the setState() calls w/ if (isFocused) {...}. That will require this component to be refactored into a modular component.
When you log out while the
<EasterEggUsername/>is active, there is a memory leak because the colors are trying to toggle while the component is unmounted.Doing this will probably involve using the
useIsFocused()hook and wrapping thesetState()calls w/if (isFocused) {...}. That will require this component to be refactored into a modular component.