Fix linter and remove console logs
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
type ChipDisplayProps = {
|
||||
displayName: string;
|
||||
entityId: string | null;
|
||||
avatarUrlValue?: string;
|
||||
};
|
||||
|
||||
export const ChipDisplay = ({
|
||||
displayName,
|
||||
entityId,
|
||||
avatarUrlValue,
|
||||
}: ChipDisplayProps) => {
|
||||
switch (true) {
|
||||
// case Entity.Company: {
|
||||
// return (
|
||||
// <CompanyChip
|
||||
// id={entityId ?? ''}
|
||||
// name={displayName}
|
||||
// avatarUrl={getLogoUrlFromDomainName(avatarUrlValue)}
|
||||
// />
|
||||
// );
|
||||
// }
|
||||
// case Entity.Person: {
|
||||
// return (
|
||||
// <PersonChip
|
||||
// id={entityId ?? ''}
|
||||
// name={displayName}
|
||||
// avatarUrl={avatarUrlValue}
|
||||
// />
|
||||
// );
|
||||
// }
|
||||
default:
|
||||
return <> </>;
|
||||
}
|
||||
};
|
||||
@ -22,9 +22,11 @@ export const RecordTableBody = () => {
|
||||
|
||||
const { scopeId: objectNamePlural } = useRecordTable();
|
||||
|
||||
const { objectMetadataItem: foundObjectMetadataItem } = useObjectMetadataItem({
|
||||
objectNamePlural,
|
||||
});
|
||||
const { objectMetadataItem: foundObjectMetadataItem } = useObjectMetadataItem(
|
||||
{
|
||||
objectNamePlural,
|
||||
},
|
||||
);
|
||||
|
||||
const [isFetchingMoreObjects] = useRecoilState(
|
||||
isFetchingMoreObjectsFamilyState(foundObjectMetadataItem?.namePlural),
|
||||
|
||||
Reference in New Issue
Block a user