Skip to content

Commit 21cf080

Browse files
authored
Merge pull request Expensify#61893 from bernhardoj/fix/61552-first-tx-is-highlighted-when-deleting-a-tx
Fix first transaction is highlighted when deleting a transaction
2 parents 37223c6 + cfeadc5 commit 21cf080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function MoneyRequestReportTransactionList({report, transactions, reportActions,
127127
const {sortBy, sortOrder} = sortConfig;
128128

129129
const newTransactionsID = useMemo(() => {
130-
if (!prevTransactions || transactions.length === prevTransactions.length) {
130+
if (!prevTransactions || transactions.length <= prevTransactions.length) {
131131
return CONST.EMPTY_ARRAY as unknown as string[];
132132
}
133133

0 commit comments

Comments
 (0)