Skip to content

Commit 9bc415c

Browse files
committed
fix crashing
1 parent 12d88da commit 9bc415c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Search/SearchPageHeader/SearchPageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function SearchPageHeader({queryJSON, searchRouterListVisible, hideSearchRouterL
2929

3030
const selectedTransactionsKeys = Object.keys(selectedTransactions ?? {});
3131

32-
if (shouldUseNarrowLayout && selectionMode?.isEnabled) {
32+
if (shouldUseNarrowLayout && selectionMode?.isEnabled && headerButtonsOptions.length > 0) {
3333
return (
3434
<View>
3535
<SearchSelectedNarrow

src/pages/Search/SearchPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function SearchPage({route}: SearchPageProps) {
155155
setIsDownloadErrorModalVisible(true);
156156
},
157157
);
158-
clearSelectedTransactions();
158+
clearSelectedTransactions(undefined, true);
159159
},
160160
},
161161
],

0 commit comments

Comments
 (0)