Revert "Merge branch 'autosuggest-profiles-fix' into 'develop'"
This reverts commit9df92e91e7
, reversing changes made to39b4ee9f09
.
This commit is contained in:
parent
9df92e91e7
commit
6444632324
|
@ -14,14 +14,7 @@ const AutosuggestAccount: React.FC<IAutosuggestAccount> = ({ id }) => {
|
||||||
|
|
||||||
if (!account) return null;
|
if (!account) return null;
|
||||||
|
|
||||||
return (
|
return <Account account={account} hideActions showProfileHoverCard={false} />;
|
||||||
<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>
|
|
||||||
);
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue