diff --git a/src/components/SelectionListWithSections/Search/TransactionGroupListItem.tsx b/src/components/SelectionListWithSections/Search/TransactionGroupListItem.tsx index 845a9d6c0b253..afc854f6525f3 100644 --- a/src/components/SelectionListWithSections/Search/TransactionGroupListItem.tsx +++ b/src/components/SelectionListWithSections/Search/TransactionGroupListItem.tsx @@ -260,6 +260,8 @@ function TransactionGroupListItem({ const onExpandIconPress = useCallback(() => { if (isEmpty && !shouldDisplayEmptyView) { onPress(); + // onPress handles handleToggle() for us, so we return early to avoid calling it twice + return; } handleToggle(); }, [isEmpty, shouldDisplayEmptyView, handleToggle, onPress]);