Skip to content

Commit

Permalink
feat: Target -> Staging Area의 경우에도 Dragging 스타일 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjiw0n committed Jul 17, 2024
1 parent 86b3333 commit b5b3343
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/targetArea/TargetTaskSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function TargetTaskSection(props: TargetTaskSectionProps) {
<BtnTaskContainer type="target">
{tasks.map((task, index) => (
<Draggable key={task.id} draggableId={task.id.toString()} index={index}>
{(provided) => (
{(provided, snapshot) => (
<div
ref={provided.innerRef}
{...provided.draggableProps}
Expand All @@ -34,6 +34,7 @@ function TargetTaskSection(props: TargetTaskSectionProps) {
id={task.id}
handleSelectedTarget={handleSelectedTarget}
selectedTarget={selectedTarget}
isDragging={snapshot.isDragging}
/>
</div>
)}
Expand Down

0 comments on commit b5b3343

Please sign in to comment.