ShopTime-4012 Category Kids 진입시 앱재시작하는 현상 수정
This commit is contained in:
@@ -261,14 +261,10 @@ export const continueGetSubCategory =
|
||||
const totalCount = subCategoryData[key]?.total ?? 0;
|
||||
const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1);
|
||||
|
||||
if (totalCount <= startIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
(startIndex <= 1 && !targetData) ||
|
||||
targetData[startIndex] ||
|
||||
totalCount < startIndex
|
||||
totalCount <= startIndex
|
||||
) {
|
||||
//ignore query
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user