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

feat: 마이페이지 모달 UI #72

Merged
merged 14 commits into from
Jan 21, 2025
Merged

Conversation

woneeeee
Copy link
Collaborator

1. 무슨 이유로 코드를 변경했나요?


2. 어떤 위험이나 장애를 발견했나요?


3. 관련 스크린샷을 첨부해주세요.

image

4. 완료 사항

마이페이지 모달 UI를 구현하였습니다

5. 추가 사항

현재 탈퇴하기 api는 안나왔지만 로직만 구현해놓은 상태입니다!

@woneeeee woneeeee added feat 신규피쳐 design css labels Jan 21, 2025
@woneeeee woneeeee requested a review from WooGi1020 January 21, 2025 12:45
@woneeeee woneeeee self-assigned this Jan 21, 2025
@woneeeee woneeeee linked an issue Jan 21, 2025 that may be closed by this pull request
Copy link

구현 기능 확인하기: https://gachtaxi-p6p0dwkq4-cogis-projects.vercel.app

Copy link
Collaborator

@WooGi1020 WooGi1020 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!! 이제 얼추 UI 다 완료되어가는거 같아서 기쁘네요 😁😁


const onLogout = () => {
localStorage.removeItem('accessToken');
localStorage.removeItem('refreshToken');
Copy link
Collaborator

Choose a reason for hiding this comment

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

아마 리프레시토큰은 쿠키에 있어서 client.ts 가 처리해줄거라 localStorage 에는 따로 저장 안될거에요!!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

아하 그럼 일단 accessTokenlocalStorage에서 삭제하고 refreshToken은 쿠키에서 삭제하는걸로 수정할게요!

Copy link
Collaborator

Choose a reason for hiding this comment

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

utils 폴더는 자잘한 작업을 처리하기 위한 (format 같은 로직처리) 함수들을 모아놓는 폴더여서 함수 목적에 조금 더 부합하는 hook 폴더에 위치시키시거나 아니면 그냥 탈퇴하기 사용하는 로직에서 직접적으로 사용해주셔도 무방할 것 같습니다..!! 😁

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

아항 그럼 hooks 폴더에 위치시키는 걸로 수정하겠습니당 !!

Copy link

구현 기능 확인하기: https://gachtaxi-6bxfrcqfu-cogis-projects.vercel.app

@woneeeee woneeeee merged commit 51978f8 into main Jan 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design css feat 신규피쳐
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: 마이페이지 모달 UI
2 participants