TEAM-BEAT / BEAT-Client

BE AT WHERE YOUR HEART BEATS, BEAT
https://www.beatlive.kr
9 stars 4 forks source link

[Fix/#343] 공연 삭제 로직 수정 #344

Closed pepperdad closed 4 weeks ago

pepperdad commented 1 month ago

📌 관련 이슈번호

🎟️ PR 유형

어떤 변경 사항이 있나요?

✅ Key Changes

이번 PR에서 작업한 내용을 간략히 설명해주세요

  1. alert의 okText를 누르면 검사하던 예매자 존재 여부를 헤더의 삭제 버튼 클릭시 검사하도록 변경
  2. useEffect의 인자로 isBookerExist 추가하여 예매자 존재 여부 함수 내부에서 받아오지 못하던 오류 수정

📸 스크린샷

https://github.com/user-attachments/assets/24e5d74a-6588-4a64-813e-8c59551ba5c3

첫 번째는 예매자가 없는 경우 두 번째는 예매자가 있는 경우 -> 삭제 불가능 alert

github-actions[bot] commented 1 month ago

PR 작성하느라 고생 많았어요!! 라벨 잘 지정되었는지 확인 한 번 해 주기 🫶

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

pepperdad commented 4 weeks ago

@ocahs9 확인했습니다! 머지할테니, 다음 PR에 반영해주세요 :)