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
src/hooks.tsx have unreachable lines of code in return statements. In each hook return statement, this line can never get called:
if(!active)return;
because in the beginning of each useEffect hooks there is the same line. The value of "active" variable does not change in the hook, meaning that "active" is falsy in the beginning of the hook, the hook will return before reaching the last return statement of each hook.
The text was updated successfully, but these errors were encountered:
Version
v2.0.5
Issue
src/hooks.tsx have unreachable lines of code in return statements. In each hook return statement, this line can never get called:
because in the beginning of each useEffect hooks there is the same line. The value of "active" variable does not change in the hook, meaning that "active" is falsy in the beginning of the hook, the hook will return before reaching the last return statement of each hook.
The text was updated successfully, but these errors were encountered: