Skip to content

Commit

Permalink
fix(fe): delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jihorobert committed Aug 26, 2024
1 parent 7ad0e00 commit 1565eb9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/frontend/app/(main)/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export default function Page() {
}
})

// 현재 뒤로가기 창닫기 새로고침은 모달창 안띄움
// const beforeUnloadHandler = (event: BeforeUnloadEvent) => {
// // Recommended
// event.preventDefault()
Expand Down Expand Up @@ -242,7 +241,6 @@ export default function Page() {
json: updatePayload
})
if (response.ok) {
// 성공시 페이지 이동이 일어나지 않고, 입력 사항을 갱신한 초기 상태를 노출함
toast.success('Successfully updated your information')
setTimeout(() => {
window.location.reload()
Expand Down Expand Up @@ -278,7 +276,6 @@ export default function Page() {
}
}

// 확인 필요
const checkPassword = async () => {
setIsCheckButtonClicked(true)
try {
Expand Down

0 comments on commit 1565eb9

Please sign in to comment.