import { TWorkflowById } from '@/domains/workflows/fetchers'; import { BlocksVariant } from '@/lib/blocks/variants/BlocksVariant/BlocksVariant'; import { useEntityLogic } from '@/pages/Entity/hooks/useEntityLogic/useEntityLogic'; import { Case } from './components/Case/Case'; export const Entity = () => { const { workflow, selectedEntity } = useEntityLogic(); if (!workflow || !selectedEntity) { return null; } // Selected entity return ( {/* Reject and approve header */} {workflow.workflowDefinition && ( )} ); };