260225_01_ENH: 실제 Data 통계 API와 연결 및 일부 페이지 축소

This commit is contained in:
2026-02-25 16:48:12 +09:00
parent d0e1352739
commit 357d9f2946
38 changed files with 1593 additions and 1352 deletions

View File

@@ -34,8 +34,8 @@ const buildDefaultTotalValue = (): SelectedMap => {
const buildDefaultCategoryValue = (categoryFilterItems: ProductsFilterItem): CategoryFilterValue => {
const initProduct = categoryFilterItems.items[0];
const initType = {label:"보유", value:CategoryTargetType.PENETRATION}
const firstTarget = categoryTarget.find((x) => x.type.includes(initType.value))?.children?.[0]?.target;
const initTarget = firstTarget ?? CategoryTargetData.PROFILE;
const firstTarget = categoryTarget.find((x) => x.type.includes(initType.value))?.children[0];
const initTarget = firstTarget ?? { value: CategoryTargetData.PROFILE, label: "Profile"};
return {
year: LAST_YEAR,