import { BlocksComponent } from '@ballerine/blocks'; import { NoBlocks } from '@/lib/blocks/components/NoBlocks/NoBlocks'; import { cells } from '@/lib/blocks/create-blocks-typed/create-blocks-typed'; import { useOngoingBlocksLogic } from '@/lib/blocks/variants/OngoingBlocks/hooks/useOngoingBlocksLogic/useOngoingBlocksLogic'; export const OngoingBlocks = () => { const { blocks, isLoading } = useOngoingBlocksLogic(); return ( <> {(Cell, cell) => } {!isLoading && !blocks?.length && } ); };