260129_01_ENH: 카테고리 파트 layout 및 route 구조 변경

This commit is contained in:
2026-01-29 13:42:42 +09:00
parent d48decab52
commit 4b40c43962
34 changed files with 508 additions and 309 deletions

View File

@@ -10,8 +10,12 @@ import {
TopChartTableRow
} from "@/components/lge-dashboard";
import { apiOwnShareOfTotalPurchase, apiTrendBuy} from "@/config/sample.data";
import {useLayoutFilter} from "@/components/layout/LayoutFilterContext";
const LGPurchasePage = () => {
const { totalValue } = useLayoutFilter();
console.log(totalValue);
const displayRowLabel = (i:number, rowLabel: string) => {
if (rowLabel === "gap") return "전년 대비 GAP(%)";
return rowLabel;