mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): remove sidebar user avatar menu item's rightArrow icon (#6633)
This commit is contained in:
@@ -15,11 +15,7 @@ import {
|
||||
openSignOutModalAtom,
|
||||
} from '@affine/core/atoms';
|
||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||
import {
|
||||
AccountIcon,
|
||||
ArrowRightSmallIcon,
|
||||
SignOutIcon,
|
||||
} from '@blocksuite/icons';
|
||||
import { AccountIcon, SignOutIcon } from '@blocksuite/icons';
|
||||
import { useLiveData, useService } from '@toeverything/infra';
|
||||
import { assignInlineVars } from '@vanilla-extract/dynamic';
|
||||
import { useSetAtom } from 'jotai';
|
||||
@@ -104,11 +100,6 @@ const AccountMenu = () => {
|
||||
<AccountIcon />
|
||||
</MenuIcon>
|
||||
}
|
||||
endFix={
|
||||
<MenuIcon position="end">
|
||||
<ArrowRightSmallIcon />
|
||||
</MenuIcon>
|
||||
}
|
||||
data-testid="workspace-modal-account-settings-option"
|
||||
onClick={onOpenAccountSetting}
|
||||
>
|
||||
@@ -121,11 +112,6 @@ const AccountMenu = () => {
|
||||
<SignOutIcon />
|
||||
</MenuIcon>
|
||||
}
|
||||
endFix={
|
||||
<MenuIcon position="end">
|
||||
<ArrowRightSmallIcon />
|
||||
</MenuIcon>
|
||||
}
|
||||
data-testid="workspace-modal-sign-out-option"
|
||||
onClick={onOpenSignOutModal}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user