Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(sidebar): remove extra create button & change icon (#1860)

dev-rbc3c30449af31
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index 40f05cc1fd..5822a30c7d 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -12,7 +12,7 @@ import { AnimatedFileMdIcon } from '@macro-icons/wide/animating/fileMd';
import { AnimatedFolderIcon } from '@macro-icons/wide/animating/folder';
import { useLocation } from '@solidjs/router';
import LogoIcon from '@macro-icons/macro-logo.svg';
-import PlusIcon from '@macro-icons/wide/plus.svg';
+import PlusIcon from '@phosphor-icons/core/bold/plus-bold.svg?component-solid';
import SearchIcon from '@phosphor-icons/core/bold/magnifying-glass-bold.svg?component-solid';
import CommandIcon from '@phosphor-icons/core/assets/regular/command.svg';
import { LIST_VIEW_PATHS, type ListView } from '@app/constants/list-views';
@@ -207,17 +207,6 @@ export const AppSidebar = (props: AppSidebarProps) => {
<CommandIcon />
</Button>
</Tooltip>
- <Tooltip
- tooltip={<LabelAndHotKey label="Create new" shortcut="c" />}
- >
- <Button
- variant="tertiary"
- size="icon-sm"
- onClick={handleCreateClick}
- >
- <PlusIcon />
- </Button>
- </Tooltip>
</Show>
<Show when={!isMobile()}>
<Tooltip tooltip={isSlim() ? 'Expand sidebar' : 'Shrink sidebar'}>