Files
twenty/front/src/modules/companies/table/components/CompanyTableMockMode.tsx
Lucas Bordeau 8627416d60 Refator/sorts dropdown (#1568)
* WIP

* Fixed lint

* Ok for sorts

* Fixed on dropdown toggle

* Fix lint
2023-09-13 16:38:11 -07:00

17 lines
433 B
TypeScript

import { EntityTable } from '@/ui/table/components/EntityTable';
import { useUpdateOneCompanyMutation } from '~/generated/graphql';
import { CompanyTableMockData } from './CompanyTableMockData';
export function CompanyTableMockMode() {
return (
<>
<CompanyTableMockData />
<EntityTable
defaultViewName="All Companies"
updateEntityMutation={[useUpdateOneCompanyMutation()]}
/>
</>
);
}