diff --git a/packages/twenty-front/src/modules/companies/__stories__/CompanyChip.stories.tsx b/packages/twenty-front/src/modules/companies/__stories__/CompanyChip.stories.tsx index 1ca09a543..34b9e695c 100644 --- a/packages/twenty-front/src/modules/companies/__stories__/CompanyChip.stories.tsx +++ b/packages/twenty-front/src/modules/companies/__stories__/CompanyChip.stories.tsx @@ -15,16 +15,16 @@ type Story = StoryObj; export const SmallName: Story = { args: { - id: 'airbnb', - name: 'Airbnb', + opportunityId: 'airbnb', + companyName: 'Airbnb', avatarUrl: 'https://api.faviconkit.com/airbnb.com/144', }, }; export const BigName: Story = { args: { - id: 'google', - name: 'Google with a real big name to overflow the cell', + opportunityId: 'google', + companyName: 'Google with a real big name to overflow the cell', avatarUrl: 'https://api.faviconkit.com/google.com/144', }, }; diff --git a/packages/twenty-front/src/modules/companies/components/CompanyBoardCard.tsx b/packages/twenty-front/src/modules/companies/components/CompanyBoardCard.tsx index e272d9e68..c7f1d09e0 100644 --- a/packages/twenty-front/src/modules/companies/components/CompanyBoardCard.tsx +++ b/packages/twenty-front/src/modules/companies/components/CompanyBoardCard.tsx @@ -197,8 +197,8 @@ export const CompanyBoardCard = () => { > diff --git a/packages/twenty-front/src/modules/companies/components/CompanyChip.tsx b/packages/twenty-front/src/modules/companies/components/CompanyChip.tsx index 53312b758..3fd892106 100644 --- a/packages/twenty-front/src/modules/companies/components/CompanyChip.tsx +++ b/packages/twenty-front/src/modules/companies/components/CompanyChip.tsx @@ -4,22 +4,22 @@ import { } from '@/ui/display/chip/components/EntityChip'; type CompanyChipProps = { - id: string; - name: string; + opportunityId: string; + companyName: string; avatarUrl?: string; variant?: EntityChipVariant; }; export const CompanyChip = ({ - id, - name, + opportunityId, + companyName, avatarUrl, variant = EntityChipVariant.Regular, }: CompanyChipProps) => (