diff --git a/src/App.tsx b/src/App.tsx index 1ec8b8b..377f8f1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -132,6 +132,9 @@ export default function App() { const measureRef = useRef(null); const historySnapshotRef = useRef(null); const recentOpenRef = useRef(new Map()); + const dragItemRef = useRef<{ type: "text" | "folder"; id: string; parentId: string | null } | null>( + null + ); useEffect(() => {