Fix tests

This commit is contained in:
Charles Bochet
2023-08-25 22:04:05 +02:00
parent f5594626ff
commit f8e3dd3f6b
4 changed files with 28 additions and 4 deletions

View File

@ -77,11 +77,12 @@ export function CompanyPickerCell({
});
setIsCreating(false);
}
const noUser: EntityForSelect = {
const noCompany: CompanyPickerSelectedCompany = {
entityType: Entity.Company,
id: '',
name: 'No Company',
avatarType: 'rounded',
domainName: '',
avatarUrl: '',
};
return isCreating ? (
@ -103,7 +104,7 @@ export function CompanyPickerCell({
selectedEntity: companies.selectedEntities[0],
loading: companies.loading,
}}
noUser={noUser}
noUser={noCompany}
/>
);
}