ProfileDropdown: allow clicking accounts again
This commit is contained in:
parent
9d87d9957f
commit
0cea66dcef
1 changed files with 6 additions and 1 deletions
|
@ -58,7 +58,12 @@ const ProfileDropdown: React.FC<IProfileDropdown> = ({ account, children }) => {
|
|||
|
||||
const renderAccount = (account: AccountEntity) => {
|
||||
return (
|
||||
<Account account={account} showProfileHoverCard={false} withLinkToProfile={false} hideActions />
|
||||
<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 a new issue