diff --git a/apps/admin-x-activitypub/src/components/search/ProfileSearchResultModal.tsx b/apps/admin-x-activitypub/src/components/search/ProfileSearchResultModal.tsx index be62347a22..5654489df6 100644 --- a/apps/admin-x-activitypub/src/components/search/ProfileSearchResultModal.tsx +++ b/apps/admin-x-activitypub/src/components/search/ProfileSearchResultModal.tsx @@ -168,15 +168,20 @@ const ProfileSearchResultModal: React.FC = ({ title: 'Posts', contents: (
- {posts.map(post => ( - {}} - /> + {posts.map((post, index) => ( +
+ {}} + /> + {index < posts.length - 1 && ( +
+ )} +
))}
) @@ -278,24 +283,6 @@ const ProfileSearchResultModal: React.FC = ({ onClick={toggleExpand} />} )} - Posts - - {posts.map((post) => { - if (post.type === 'Announce') { - return null; - } else { - return ( - {}} - /> - ); - } - })} containerClassName='mt-6' selectedTab={selectedTab}