Skip to content

Commit

Permalink
fix: 자기소개 수정시 릴레이 질문만 노출되도록 수정 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile authored Aug 25, 2024
1 parent dd34495 commit 9afa5aa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const MyprofileContainer = () => {
title="마이 프로필"
rightDecor={
<TextButton
css={{ height: '100%' }}
variant="normal"
color={colors.primary500}
onClick={isModifyPage ? handleModify : handleMoveToModifyPage}
Expand All @@ -43,7 +44,7 @@ export const MyprofileContainer = () => {

<section css={segmentedSectionCss} style={sectionStyle}>
<SegmentedControl value={tab} onValueChange={handleTab} css={segmentedCss}>
<SegmentedControl.Item value="about-me">자기소개</SegmentedControl.Item>
{!isModifyPage && <SegmentedControl.Item value="about-me">자기소개</SegmentedControl.Item>}
<SegmentedControl.Item value="answered-questions">릴레이 질문</SegmentedControl.Item>
</SegmentedControl>
<div css={aboutMeSectionCss}>
Expand Down

0 comments on commit 9afa5aa

Please sign in to comment.