@@ -178,7 +178,7 @@ export default function KanbanBoard({ projectId }: KanbanBoardProps) {
178178 const { active } = event ;
179179 const activeColumn = findTaskColumn ( active . id as string ) ;
180180 const task = activeColumn ?. tasks . find ( t => t . id === active . id ) ;
181- const activeColName = activeColumn ? ( fetchedCategories . find ( c => c . id === activeColumn . id ) ?. categoryName || activeColumn . title ) : undefined ;
181+
182182 if ( task ) {
183183 setActiveTask ( task ) ;
184184 setActiveFromColumn ( activeColumn ?. id || null ) ;
@@ -196,8 +196,7 @@ export default function KanbanBoard({ projectId }: KanbanBoardProps) {
196196
197197 const activeColumn = findTaskColumn ( activeId ) ;
198198 const overColumn = findColumn ( overId ) || findTaskColumn ( overId ) ;
199- const activeColName = activeColumn ? ( fetchedCategories . find ( c => c . id === activeColumn . id ) ?. categoryName || activeColumn . title ) : undefined ;
200- const overColName = overColumn ? ( fetchedCategories . find ( c => c . id === overColumn . id ) ?. categoryName || overColumn . title ) : undefined ;
199+
201200
202201 // Only visual feedback, no state updates during drag over
203202 // State updates will happen in handleDragEnd
@@ -218,8 +217,7 @@ export default function KanbanBoard({ projectId }: KanbanBoardProps) {
218217
219218 const activeColumn = findTaskColumn ( activeId ) ;
220219 const overColumn = findColumn ( overId ) || findTaskColumn ( overId ) ;
221- const activeColName = activeColumn ? ( fetchedCategories . find ( c => c . id === activeColumn . id ) ?. categoryName || activeColumn . title ) : undefined ;
222- const overColName = overColumn ? ( fetchedCategories . find ( c => c . id === overColumn . id ) ?. categoryName || overColumn . title ) : undefined ;
220+
223221
224222 if ( ! activeColumn || ! overColumn ) return ;
225223 const activeIndex = activeColumn . tasks . findIndex ( t => t . id === activeId ) ;
@@ -312,7 +310,7 @@ export default function KanbanBoard({ projectId }: KanbanBoardProps) {
312310 setMainTaskSubmitError ( null ) ;
313311
314312 try {
315- const newMainTask = await mainTasksApi . createMainTask ( {
313+ await mainTasksApi . createMainTask ( {
316314 title : mainTaskForm . title ,
317315 description : mainTaskForm . description ,
318316 projectId : projectId
0 commit comments