Skip to content

Conversation

@sinji2102
Copy link
Contributor

@sinji2102 sinji2102 commented May 29, 2025

📌 관련 이슈번호

✏️ PR 유형

어떤 변경 사항이 있나요?

  • 새 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 리팩토링

✅ Check List

  • 🔀 PR 제목의 형식을 잘 작성했나요?
  • 🏗️ yarn build는 성공했나요?
  • 🧹 불필요한 코드는 제거했나요? (TODO, 주석, clg... etc.)
  • ✅ 컨벤션을 지켰나요?
  • 💭 이슈는 등록했나요?
  • 🏷️ 라벨은 등록했나요?
  • 🙇‍♂️ 리뷰어를 지정했나요?

✨ Key Changes

  1. 로그인 유도 모달 생성
  2. 헤더 로그아웃 연결
  3. 로그인 검사 util 함수, custom hook 생성
  4. 보관함, AiMode, ViewModal(AI 수정 제외) 버튼들 로그인 시만 사용 가능하도록 수정

📢 To Reviewers

  • useAuth 커스텀 훅 생성했습니다.
 if (requireAuth()) {
                      // 로그인시 실행할 로직
                    }

으로 사용하시면 돼요~!

📸 스크린샷

image
image

@sinji2102 sinji2102 linked an issue May 29, 2025 that may be closed by this pull request
3 tasks
@github-actions github-actions bot requested a review from 0-hu May 29, 2025 10:11
@sinji2102 sinji2102 merged commit 1e7185b into develop May 29, 2025
2 checks passed
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.

[ Feat ] 로그인 유무 분기 처리

2 participants