-
Notifications
You must be signed in to change notification settings - Fork 2
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
🐛 찜 목록 연결 안되던 오류 해결 #101
🐛 찜 목록 연결 안되던 오류 해결 #101
Conversation
|
||
const isEmpty = data?.pages[0].length === 0 | ||
const MyDibsList = ({ | ||
data, |
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.
data보단 다른 이름으로 처리해도 좋을 것 같아요!
getMyDibsList: ({ cursorId }: GetMyDibsReq) => | ||
`/dibs/?${getQueryParams({ | ||
cursorId, | ||
size: COMMON_PAGE_SIZE, | ||
})}`, |
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.
요거 함수 꼭 여기 안에서 써야하나요??
`/dibs/?${getQueryParams({
cursorId,
size: COMMON_PAGE_SIZE,
})}
자체를 cursorId 넣는 곳(사용처)에서 처리하면 좋을 것 같습니다
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.
좋은 의견 감사합니다. apiEndPoint는 문자열만 존재하는게 좋을 것 같네요.
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.
주연님 코드 잘 봤습니다. 저의 코드컨벤션에 맞춰주셔서 감사합니다.
뭔가 구조적으로 바뀌면 다음부터 제가 찜목록 까지 같이 바꾸도록 하겠습니다.
getMyDibsList: ({ cursorId }: GetMyDibsReq) => | ||
`/dibs/?${getQueryParams({ | ||
cursorId, | ||
size: COMMON_PAGE_SIZE, | ||
})}`, |
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.
좋은 의견 감사합니다. apiEndPoint는 문자열만 존재하는게 좋을 것 같네요.
- 목적
관련 티켓 번호: 300
- 주요 변경 사항
기타 사항 (선택)
- 스크린샷 (선택)