다국어 키 자동생성 로직

This commit is contained in:
kjs
2026-01-14 11:05:57 +09:00
parent 61a7f585b4
commit 24315215de
5 changed files with 123 additions and 33 deletions

View File

@@ -26,7 +26,8 @@ function CategoryNode({
onSelectCategory,
onDoubleClickCategory,
}: CategoryNodeProps) {
const [isExpanded, setIsExpanded] = useState(true);
// 기본값: 접힌 상태로 시작
const [isExpanded, setIsExpanded] = useState(false);
const hasChildren = category.children && category.children.length > 0;
const isSelected = selectedCategoryId === category.categoryId;