import { useEnvironmentId } from '@/react/hooks/useEnvironmentId'; import { PageHeader } from '@@/PageHeader'; import { useJobs } from './useJobs'; import { JobsDatatable } from './JobsDatatable'; export function JobsView() { const environmentId = useEnvironmentId(); const jobsQuery = useJobs(environmentId); async function reloadData() { await jobsQuery.refetch(); } return ( <> ); }