diff --git a/client/src/pages/locations/components/location.tsx b/client/src/pages/locations/components/location.tsx index eaa8dea..926a713 100644 --- a/client/src/pages/locations/components/location.tsx +++ b/client/src/pages/locations/components/location.tsx @@ -21,6 +21,8 @@ export function Location({ onDelete, moveLocation, onEditTitle, + locationSpoolOrder, + setLocationSpoolOrder, }: { index: number; title: string; @@ -29,6 +31,8 @@ export function Location({ onDelete?: () => void; moveLocation: (dragIndex: number, hoverIndex: number) => void; onEditTitle: (newTitle: string) => void; + locationSpoolOrder: number[]; + setLocationSpoolOrder: (spoolOrder: number[]) => void; }) { const [editTitle, setEditTitle] = useState(false); const [newTitle, setNewTitle] = useState(title); @@ -123,7 +127,12 @@ export function Location({ )} {showDelete &&