Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REV-403/헤더 뒤로가기 방지 기능 리팩토링 #111

Merged

Conversation

hyoribogo
Copy link
Member

📑 구현 내용

설명드린 대로 뒤로가기 방지 핸들러를 리팩토링했습니다.

그리고 모달 내용 줄바꿈 처리 해줬습니다.

image
image


🚧 참고 사항


@hyoribogo hyoribogo added 리팩토링 리팩토링을 위한 이슈입니다. 스타일 스타일과 관련된 작업입니다. labels Dec 3, 2023
@hyoribogo hyoribogo self-assigned this Dec 3, 2023
Copy link
Collaborator

@hayamaster hayamaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

잘봤습니다 효리님!

Comment on lines -84 to -90
<label htmlFor="go-back" ref={goBackLabelRef}></label>
<Modal
modalId="go-back"
content={`페이지를 벗어나면 지금까지 작성한 내용이 모두 삭제됩니다.\n\n뒤로 가시겠습니까?`}
label="뒤로 가기"
handleClickLabel={() => navigate('/')}
/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다! 🙏

…m-12-ReviewRanger-FE into REV-403/헤더-뒤로가기-방지-기능-리팩토링
@hyoribogo hyoribogo merged commit ad8e755 into develop Dec 4, 2023
1 check passed
@hyoribogo hyoribogo deleted the REV-403/헤더-뒤로가기-방지-기능-리팩토링 branch December 4, 2023 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
리팩토링 리팩토링을 위한 이슈입니다. 스타일 스타일과 관련된 작업입니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants