issues
search
HAND-PYEON
/
handpyeon-web
핸드편, 내 손안의 편의점 할인 정보
0
stars
2
forks
source link
feat(web): 이벤트 리스트 페이지 빈 상품 ui
#40
Closed
Ssoon-m
closed
1 year ago
Ssoon-m
commented
1 year ago
한 줄 요약
이벤트 리스트 페이지에서 행사 타입 조회시 행사 상품이 없을 경우에 대한 ui 작업
자세한 내용
getNextPageParam
쪽 조건을 잘못 작성해서 첫 페이지 호출시
totalPages
가
0
이라면
nextCursor
는
1
이므로 다음 페이지 호출이 또 일어났다. 이를 막기 위해 list의 length 도 같이 조건에 추가
첫 페이지의 데이터 길이가 0일 경우
상품이 없습니다.
문구 추가.
github-actions[bot]
commented
1 year ago
The latest updates on your projects.
Learn more about
Vercel for Git ↗︎
Name
Preview
handpyeon-web
Visit Preview
한 줄 요약
자세한 내용
getNextPageParam
쪽 조건을 잘못 작성해서 첫 페이지 호출시totalPages
가0
이라면nextCursor
는1
이므로 다음 페이지 호출이 또 일어났다. 이를 막기 위해 list의 length 도 같이 조건에 추가상품이 없습니다.
문구 추가.