diff --git a/src/components/core/CardStack.tsx b/src/components/core/CardStack.tsx index 7112789..9518365 100644 --- a/src/components/core/CardStack.tsx +++ b/src/components/core/CardStack.tsx @@ -53,6 +53,7 @@ export function CardStack({ key={item.id} onSendToBack={() => sendToBack(item.id)} className={cardClassName} + isDraggable={index === items.length - 1} > void; className?: string; + isDraggable?: boolean; } export function DraggableContainer({ children, onSendToBack, className, + isDraggable = true, }: DraggableContainerProps) { const { x, y, rotateX, rotateY, handleDragEnd } = useCardRotation(onSendToBack); @@ -18,12 +20,12 @@ export function DraggableContainer({ return ( {children}