Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): remove sidebar user avatar menu item's rightArrow icon (#6633)

CatsJuice13e2a3dbaefa
diff --git a/packages/frontend/core/src/components/root-app-sidebar/user-info.tsx b/packages/frontend/core/src/components/root-app-sidebar/user-info.tsx
index ce84d3f905..6a0abde6e2 100644
--- a/packages/frontend/core/src/components/root-app-sidebar/user-info.tsx
+++ b/packages/frontend/core/src/components/root-app-sidebar/user-info.tsx
@@ -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}
>