Revert "Remove reference to data-testid from styling" (#10635)

Reverts twentyhq/twenty#10407
This commit is contained in:
Weiko
2025-03-03 19:15:12 +01:00
committed by GitHub
parent e8b6b1b941
commit 41db10daff
9 changed files with 25 additions and 62 deletions

View File

@ -22,7 +22,6 @@ export type RecordChipProps = {
maxWidth?: number;
to?: string | undefined;
size?: ChipSize;
isLabelHidden?: boolean;
};
export const RecordChip = ({
@ -34,7 +33,6 @@ export const RecordChip = ({
to,
size,
forceDisableClick = false,
isLabelHidden = false,
}: RecordChipProps) => {
const { recordChipData } = useRecordChipData({
objectNameSingular,
@ -78,7 +76,6 @@ export const RecordChip = ({
maxWidth={maxWidth}
placeholderColorSeed={record.id}
name={recordChipData.name}
isLabelHidden={isLabelHidden}
avatarType={recordChipData.avatarType}
avatarUrl={recordChipData.avatarUrl ?? ''}
className={className}