Skip to content

Commit

Permalink
删除“提交助手”
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchuang committed Dec 15, 2023
1 parent 9d048f3 commit c808136
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions src/app/chat/settings/features/HeaderContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { HEADER_ICON_SIZE } from '@/const/layoutTokens';
import { configService } from '@/services/config';
import { useSessionStore } from '@/store/session';

import SubmitAgentButton from './SubmitAgentButton';

export const HeaderContent = memo<{ mobile?: boolean }>(() => {
const { t } = useTranslation('setting');
const id = useSessionStore((s) => s.activeId);
Expand Down Expand Up @@ -43,7 +41,6 @@ export const HeaderContent = memo<{ mobile?: boolean }>(() => {

return (
<>
<SubmitAgentButton />
<Dropdown arrow={false} menu={{ items }} trigger={['click']}>
<ActionIcon
icon={HardDriveDownload}
Expand Down
3 changes: 0 additions & 3 deletions src/app/market/(desktop)/features/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { createStyles } from 'antd-style';
import Link from 'next/link';
import { memo } from 'react';

import ShareAgentButton from '../../features/ShareAgentButton';

export const useStyles = createStyles(({ css, token }) => ({
logo: css`
color: ${token.colorText};
Expand All @@ -22,7 +20,6 @@ const Header = memo(() => {
<Logo className={styles.logo} extra={'Discover'} size={36} type={'text'} />
</Link>
}
right={<ShareAgentButton />}
/>
);
});
Expand Down
4 changes: 1 addition & 3 deletions src/app/market/(mobile)/features/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { Logo, MobileNavBar } from '@lobehub/ui';
import { memo } from 'react';

import ShareAgentButton from '../../features/ShareAgentButton';

const Header = memo(() => {
return <MobileNavBar center={<Logo type={'text'} />} right={<ShareAgentButton mobile />} />;
return <MobileNavBar center={<Logo type={'text'} />} />;
});

export default Header;

0 comments on commit c808136

Please sign in to comment.