summaryrefslogtreecommitdiff
path: root/lib/docu-list-rule/code-groups/table/code-groups-table.tsx
diff options
context:
space:
mode:
author0-Zz-ang <s1998319@gmail.com>2025-08-25 09:23:30 +0900
committer0-Zz-ang <s1998319@gmail.com>2025-08-25 09:23:30 +0900
commitb12a06766e32e3c76544b1d12bec91653e1fe9db (patch)
tree57ca1ddff3342677d132e07b78fc03873a960255 /lib/docu-list-rule/code-groups/table/code-groups-table.tsx
parentd38877eef87917087a4a217bea32ae84d6738a7d (diff)
docu-list-rule페이지 수정
Diffstat (limited to 'lib/docu-list-rule/code-groups/table/code-groups-table.tsx')
-rw-r--r--lib/docu-list-rule/code-groups/table/code-groups-table.tsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/docu-list-rule/code-groups/table/code-groups-table.tsx b/lib/docu-list-rule/code-groups/table/code-groups-table.tsx
index 0029ed91..fdddb2d6 100644
--- a/lib/docu-list-rule/code-groups/table/code-groups-table.tsx
+++ b/lib/docu-list-rule/code-groups/table/code-groups-table.tsx
@@ -75,12 +75,7 @@ export function CodeGroupsTable({ promises }: CodeGroupsTableProps) {
clearOnDefault: false,
})
- // 컴포넌트 마운트 후 그룹핑 설정
- React.useEffect(() => {
- if (data && table.getState().grouping.length === 0) {
- table.setGrouping(["projectCode"])
- }
- }, [table, data])
+
// 정렬 시 펼쳐진 상태 유지
React.useEffect(() => {