Skip to content

Commit

Permalink
refactor: #330 팀원 1명일 때는 편집 버튼 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
donghunee committed Sep 8, 2024
1 parent 307b0a2 commit e338582
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/component/space/members/MembersList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ export function MembersList() {
<DefaultLayout
title="팀원"
RightComp={
isLeader && (
isLeader &&
data?.length !== 1 && (
<DropdownMenu onValueChange={(value) => onChangeEditType(value as EditType)} offset={[8, 8]}>
<DropdownMenu.Trigger asChild={true}>
<Typography color="gray600" variant="subtitle16SemiBold">
Expand Down

0 comments on commit e338582

Please sign in to comment.