Add dragItemRef to App.tsx

This commit is contained in:
2026-01-31 18:45:12 +01:00
parent 354c974bd8
commit 1921b63ffc

View File

@@ -132,6 +132,9 @@ export default function App() {
const measureRef = useRef<HTMLDivElement | null>(null);
const historySnapshotRef = useRef<HistorySnapshot | null>(null);
const recentOpenRef = useRef(new Map<string, number>());
const dragItemRef = useRef<{ type: "text" | "folder"; id: string; parentId: string | null } | null>(
null
);
useEffect(() => {