import useEmbedJobs from '~/hooks/useEmbedJobs' import HorizontalBarChart from './HorizontalBarChart' import StyledSectionHeader from './StyledSectionHeader' interface ActiveEmbedJobsProps { withHeader?: boolean } const ActiveEmbedJobs = ({ withHeader = false }: ActiveEmbedJobsProps) => { const { data: jobs } = useEmbedJobs() return ( <> {withHeader && ( )}
{jobs && jobs.length > 0 ? ( jobs.map((job) => (
)) ) : (

No files are currently being processed

)}
) } export default ActiveEmbedJobs