ProfileDropdown: allow clicking accounts again
This commit is contained in:
@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user