Fix performance test (#8036)

There was a broken story due to missing context
This commit is contained in:
Félix Malfait 2024-10-24 18:28:51 +02:00 committed by GitHub
parent b09ecfbb8c
commit 9a62bed748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ export const RecordIdentifierChip = ({
name={recordChipData.name}
avatarType={recordChipData.avatarType}
avatarUrl={recordChipData.avatarUrl ?? ''}
to={indexIdentifierUrl(record.id)}
to={indexIdentifierUrl ? indexIdentifierUrl(record.id) : undefined}
variant={variant}
LeftIcon={LeftIcon}
LeftIconColor={LeftIconColor}