pl-fe: Fix account hover card

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-10-01 18:20:49 +02:00
parent 04281890e6
commit d0ca585558
15 changed files with 46 additions and 38 deletions

View File

@ -106,7 +106,7 @@ const AccountModerationModal: React.FC<AccountModerationModalProps & BaseModalPr
<OutlineBox>
<Account
account={account}
showProfileHoverCard={false}
showAccountHoverCard={false}
withLinkToProfile={false}
hideActions
/>

View File

@ -49,7 +49,7 @@ const SelectedStatus = ({ statusId }: { statusId: string }) => {
<Stack space={2} className='rounded-lg bg-gray-100 p-4 dark:bg-gray-800'>
<AccountContainer
id={status.account as any}
showProfileHoverCard={false}
showAccountHoverCard={false}
withLinkToProfile={false}
timestamp={status.created_at}
hideActions

View File

@ -57,7 +57,7 @@ const ProfileDropdown: React.FC<IProfileDropdown> = ({ account, children }) => {
}, 2000);
const renderAccount = (account: AccountEntity) => (
<Account account={account} showProfileHoverCard={false} withLinkToProfile={false} hideActions />
<Account account={account} showAccountHoverCard={false} withLinkToProfile={false} hideActions />
);
const ProfileDropdownMenu = useMemo(() => {