AutosuggestAccount: let account be clicked

This commit is contained in:
Alex Gleason 2022-11-19 20:15:32 -06:00
parent 39b4ee9f09
commit 908985bdc6
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -14,7 +14,14 @@ const AutosuggestAccount: React.FC<IAutosuggestAccount> = ({ id }) => {
if (!account) return null; if (!account) return null;
return <Account account={account} hideActions showProfileHoverCard={false} />; return (
<div className='relative'>
{/* HACK: The <Account> component stops click events, so insert this div as something to click. */}
<div className='absolute inset-0' />
<Account account={account} showProfileHoverCard={false} withLinkToProfile={false} hideActions />
</div>
);
}; };