Skip to content

Commit

Permalink
[FE] 날짜만 입력 시, 약속 추천 필터링 기능 제거 (#400)
Browse files Browse the repository at this point in the history
refactor: 시간 선택 시에만 추천 필터링 기능 동작되도록 수정
  • Loading branch information
Largopie authored Oct 15, 2024
1 parent e324f46 commit fb88def
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ export default function MeetingTimeRecommends({ uuid, attendeeNames }: MeetingRe
))}
</section>
<span css={s_tipInfo}>원하는 참여인원을 선택해 보세요 :)</span>
<Dropdown
value={recommendType}
onChange={(e) => handleChangeRecommendType(e.target.value)}
options={[
{ value: 'earliest', label: '빠르게 만나고 싶어요' },
{ value: 'longTerm', label: '길게 만나고 싶어요' },
]}
/>
{meetingRecommendResponse && meetingRecommendResponse.type === 'DATETIME' && (
<Dropdown
value={recommendType}
onChange={(e) => handleChangeRecommendType(e.target.value)}
options={[
{ value: 'earliest', label: '빠르게 만나고 싶어요' },
{ value: 'longTerm', label: '길게 만나고 싶어요' },
]}
/>
)}
{meetingRecommendResponse &&
meetingRecommendResponse.recommendedSchedules.map((recommendInfo, index) =>
meetingRecommendResponse.type === 'DATETIME' ? (
Expand Down

0 comments on commit fb88def

Please sign in to comment.