export function getNextAssignee<T extends { id: number | string }>(members: T[], currentIndex = 0) {
    if (members.length === 0) return null
    const nextIndex = (currentIndex + 1) % members.length
    return members[nextIndex]
}

export function useFairness() {
    return { getNextAssignee }
} 