Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(community): use landing URL for agent share link (#15099)

LiJian99ec113e755b
diff --git a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/index.tsx b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/index.tsx
index a953caa32d8..4b4749d315b 100644
--- a/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/index.tsx
+++ b/src/routes/(main)/community/(detail)/agent/features/Sidebar/ActionButton/index.tsx
@@ -4,7 +4,7 @@ import { Flexbox } from '@lobehub/ui';
import { memo } from 'react';
import urlJoin from 'url-join';
-import { OFFICIAL_URL } from '@/const/url';
+import { AGENTS_OFFICIAL_URL } from '@/const/url';
import ShareButton from '../../../../features/ShareButton';
import { useDetailContext } from '../../DetailProvider';
@@ -21,7 +21,7 @@ const ActionButton = memo<{ mobile?: boolean }>(({ mobile }) => {
desc: description,
hashtags: tags,
title,
- url: urlJoin(OFFICIAL_URL, '/community/agent', identifier as string),
+ url: urlJoin(AGENTS_OFFICIAL_URL, identifier as string),
}}
/>
</Flexbox>