ShopTime-4012 Category Kids 진입시 앱재시작하는 현상 수정

This commit is contained in:
Dev TWIN0906
2025-06-05 17:45:36 +09:00
parent c846e458ac
commit 90832fd6d6

View File

@@ -261,14 +261,10 @@ export const continueGetSubCategory =
const totalCount = subCategoryData[key]?.total ?? 0; const totalCount = subCategoryData[key]?.total ?? 0;
const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1); const startIndex = CATEGORY_DATA_MAX_RESULTS_LIMIT * (pageNo - 1);
if (totalCount <= startIndex) {
return;
}
if ( if (
(startIndex <= 1 && !targetData) || (startIndex <= 1 && !targetData) ||
targetData[startIndex] || targetData[startIndex] ||
totalCount < startIndex totalCount <= startIndex
) { ) {
//ignore query //ignore query
return; return;