Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/members/detail/ProfileSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const ProfileSection = ({ profile, memberId }: ProfileSectionProps) => {
logClickEvent('editProfile');
}}
>
<EditIcon />
<EditIcon style={{ width: '20px', height: '20px' }} />
</EditButton>
) : (
<MoreIconContainer>
Expand All @@ -132,7 +132,7 @@ const ProfileSection = ({ profile, memberId }: ProfileSectionProps) => {
}}
>
<Flex align='center' css={{ gap: '10px', color: `${colors.gray10}` }}>
<IconAlertTriangle css={{ width: '16px', height: '16px' }} />
<IconAlertTriangle css={{ width: '20px', height: '20px' }} />
신고
</Flex>
</FeedDropdown.Item>
Expand All @@ -143,7 +143,7 @@ const ProfileSection = ({ profile, memberId }: ProfileSectionProps) => {
}}
>
<Flex align='center' css={{ gap: '10px' }}>
<IconUserX css={{ width: '16px', height: '16px' }} /> 차단
<IconUserX css={{ width: '20px', height: '20px' }} /> 차단
</Flex>
</FeedDropdown.Item>
</FeedDropdown>
Expand Down
9 changes: 1 addition & 8 deletions src/components/members/detail/SoptActivitySection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,9 @@ interface SoptActivitySectionProps {
}

export default function SoptActivitySection({ soptActivities, isMine }: SoptActivitySectionProps) {
// 메이커스 정보가 프로필에서 먼저 오도록 정렬
const sortedActivities = [...soptActivities].sort((a, b) => {
const aIsMakers = a.team === '메이커스' ? 1 : 0;
const bIsMakers = b.team === '메이커스' ? 1 : 0;
return bIsMakers - aIsMakers;
});

return (
<MemberDetailSection>
{sortedActivities.map(({ generation, part, projects, team }, idx) => (
{soptActivities.map(({ generation, part, projects, team }, idx) => (
<PartItem
key={`${generation}-${part}-${team ?? ''}-${idx}`}
generation={`${generation}`}
Expand Down
Loading