Skip to content

Commit 9f067bd

Browse files
committed
prettier
1 parent ae91993 commit 9f067bd

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/components/Search/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,12 @@ function Search({queryJSON, currentSearchResults, lastNonEmptySearchResults, onS
174174
const {translate} = useLocalize();
175175
const searchListRef = useRef<SelectionListHandle | null>(null);
176176

177-
useFocusEffect(useCallback(() => {
178-
clearSelectedTransactions(hash);
179-
setCurrentSearchHash(hash);
180-
}, [hash, clearSelectedTransactions, setCurrentSearchHash]));
177+
useFocusEffect(
178+
useCallback(() => {
179+
clearSelectedTransactions(hash);
180+
setCurrentSearchHash(hash);
181+
}, [hash, clearSelectedTransactions, setCurrentSearchHash]),
182+
);
181183

182184
const searchResults = currentSearchResults?.data ? currentSearchResults : lastNonEmptySearchResults;
183185
const isSearchResultsEmpty = !searchResults?.data || isSearchResultsEmptyUtil(searchResults);

0 commit comments

Comments
 (0)