import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
import { BacklogSection } from '../../components/BacklogSection.jsx'
import { LoadingState } from '../../components/LoadingState.jsx'
export function InitiativeInboxPage() {
const {
backlogItems,
roadmapItems,
capabilities,
formBusy,
error,
loading,
handleCreateBacklog,
handleUpdateBacklog,
handleReorderBacklog,
handleConvertBacklog,
handleDeleteBacklog,
} = useInitiativeOperations()
if (!capabilities.has('kairo.initiative.read')) {
return null
}
if (loading) {
return
{error}
}