Skip to content

Commit 65ee01b

Browse files
committed
trigger test
1 parent 3e2eb85 commit 65ee01b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Search/itemHeightCalculator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function transactionHasViolations(item: TransactionListItemType): boolean {
2828
/**
2929
* Calculates height for report action items (chat messages)
3030
*/
31-
function getReportActionItemHeight(item: ReportActionListItemType, config: ItemHeightConfig): number {
31+
function getReportActionItemHeight(item: ReportActionListItemType): number {
3232
const actionName = item.actionName;
3333
if (actionName === CONST.REPORT.ACTIONS.TYPE.REPORT_PREVIEW) {
3434
return ITEM_HEIGHTS.CHAT.REPORT_PREVIEW;
@@ -94,7 +94,7 @@ function calculateItemHeight(item: SearchListItem, config: ItemHeightConfig): nu
9494
try {
9595
// Chat messages (report actions)
9696
if (isReportActionListItemType(item) && config.type === CONST.SEARCH.DATA_TYPES.CHAT) {
97-
return getReportActionItemHeight(item, config);
97+
return getReportActionItemHeight(item);
9898
}
9999

100100
// Transactions

0 commit comments

Comments
 (0)