diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 3e8bd862..36c33d1f 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -550,11 +550,13 @@ function AccountInfo({ tabIndex={0} to={accountLink} onClick={() => { - states.showAccount = false; - states.showGenericAccounts = { - heading: 'Followers', - fetchAccounts: fetchFollowers, - }; + // states.showAccount = false; + setTimeout(() => { + states.showGenericAccounts = { + heading: 'Followers', + fetchAccounts: fetchFollowers, + }; + }, 0); }} > {!!familiarFollowers.length && ( @@ -581,11 +583,13 @@ function AccountInfo({ tabIndex={0} to={accountLink} onClick={() => { - states.showAccount = false; - states.showGenericAccounts = { - heading: 'Following', - fetchAccounts: fetchFollowing, - }; + // states.showAccount = false; + setTimeout(() => { + states.showGenericAccounts = { + heading: 'Following', + fetchAccounts: fetchFollowing, + }; + }, 0); }} > @@ -597,13 +601,13 @@ function AccountInfo({ { - hideAllModals(); - } - } + // onClick={ + // standalone + // ? undefined + // : () => { + // hideAllModals(); + // } + // } > {shortenNumber(statusesCount)} @@ -626,9 +630,9 @@ function AccountInfo({