diff --git a/apps/web/src/components/ObjectTree.tsx b/apps/web/src/components/ObjectTree.tsx
index 9a66bc3..05e1c51 100644
--- a/apps/web/src/components/ObjectTree.tsx
+++ b/apps/web/src/components/ObjectTree.tsx
@@ -1,3 +1,4 @@
+import { useState } from 'react';
import type { ObjectTreeNode } from '@tts/extract';
interface Props {
@@ -38,23 +39,44 @@ function TreeNode({
onSelect: (guid: string) => void;
}) {
const selected = node.object.GUID === selectedGuid;
+ const hasChildren = node.children.length > 0;
+ const [expanded, setExpanded] = useState(false);
return (
-