fix: lint errors en warnings opgelost voor CI
This commit is contained in:
parent
97a4173cba
commit
ecc7a10679
14 changed files with 38 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
import { useState, useTransition, useEffect } from 'react'
|
||||
import { useRouter } from 'next/navigation'
|
||||
import {
|
||||
DndContext, DragEndEvent, DragOverEvent, DragStartEvent, DragOverlay,
|
||||
DndContext, DragEndEvent,
|
||||
KeyboardSensor, PointerSensor, useSensor, useSensors, closestCenter,
|
||||
} from '@dnd-kit/core'
|
||||
import {
|
||||
|
|
@ -101,7 +101,7 @@ interface SprintBacklogLeftProps {
|
|||
selectedStoryId: string | null
|
||||
}
|
||||
|
||||
export function SprintBacklogLeft({ sprintId, stories, isDemo, onSelectStory, selectedStoryId }: SprintBacklogLeftProps) {
|
||||
export function SprintBacklogLeft({ sprintId, stories, isDemo, onSelectStory }: SprintBacklogLeftProps) {
|
||||
const { sprintStoryOrder, initSprint, reorderSprintStories, rollbackSprint, removeStoryFromSprint } = useSprintStore()
|
||||
const [, startTransition] = useTransition()
|
||||
|
||||
|
|
@ -186,7 +186,7 @@ export function SprintBacklogRight({ sprintId, pbisWithStories, sprintStoryIds,
|
|||
function toggle(pbiId: string) {
|
||||
setCollapsed(prev => {
|
||||
const next = new Set(prev)
|
||||
next.has(pbiId) ? next.delete(pbiId) : next.add(pbiId)
|
||||
if (next.has(pbiId)) { next.delete(pbiId) } else { next.add(pbiId) }
|
||||
return next
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue