summaryrefslogtreecommitdiff
path: root/lib/docu-list-rule/code-groups/table/code-groups-table.tsx
diff options
context:
space:
mode:
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(() => {