Skip to content

Commit

Permalink
Fix: 외부 영역 터치 시 시간 선택팝업 닫히게 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdnps10 committed Apr 26, 2024
1 parent 7d0bb08 commit 58b061c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,13 @@ function SetChatTimeSection({
setIsActive={setIsActive}
/>
)}
{(isOutPopupOpen || isTimeModalOpen) && <BackDrop />}
{(isOutPopupOpen || isTimeModalOpen) && (
<BackDrop
onClick={() => {
setIsTimeModalOpen(false);
}}
/>
)}

<SetChatGuide>
상담 활동이 가능한 시간대를 설정해주세요. <br />
Expand Down

0 comments on commit 58b061c

Please sign in to comment.