-
Notifications
You must be signed in to change notification settings - Fork 0
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: 마이페이지 #57
Feat: 마이페이지 #57
Conversation
Visit the preview URL for this PR (updated for commit 9b62af7): https://hearus-668d7--pr57-feat-my-page-9inrejrg.web.app (expires Wed, 28 Aug 2024 11:06:04 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bf5e680be215afe513793a0ffcca015694c306c5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오타도 몰랐는데 수정해주셔서 감사합니다..
수고하셨어요!! 👍
import { useState } from 'react'; | ||
import styles from './SupplementaryInfoModal.module.scss'; | ||
import Next from '../../../../assets/images/arrow/next-arrow.svg?react'; | ||
import Back from '../../../../assets/images/arrow/back-arrow.svg?react'; | ||
import { useQueryClient, useMutation } from '@tanstack/react-query'; | ||
import { SupplementaryUpdateInfo } from '../../../../apis/user'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import문 순서를
- react
- react-router-dom
- @tanstack/react-query, zustand 등 라이브러리
- 컴포넌트
- assets, constants
- api, util 등 기타 함수
- style
이런 순서로 불러오려고 하고있거든요 별건 아니지만 정리되면 좋습니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗 맞아요!!! 이것도 물어보려고 했는데 감사합니당 ㅎㅎㅎ
src/pages/Main/Mypage/Mypage.tsx
Outdated
{currentPage === 'view' ? ( | ||
<View info={info} onEditClick={handleEditClick} /> | ||
) : ( | ||
<Edit info={info} setInfo={setInfo} onSaveClick={handleSaveClick} /> | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
페이지 url이 바뀌는게 아니기때문에 이름을 currentMode로 하는게 더 좋을것같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오...!! 맞네요 넵 바꿔서 다시 올리고 머지하겠습니다!
요약 (Summary)
마이페이지, 추가정보 모달, 네이버 로그인, 전체 페이지 padding 통일
변경 사항 (Changes)
리뷰 요구사항
확인 방법 (선택)