From 2f6850227fd534ae96bb5c72a79dfdf06a621014 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Mon, 26 Aug 2024 18:17:50 -0600 Subject: [PATCH] rm dead code --- src/libs/SearchUtils.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/libs/SearchUtils.ts b/src/libs/SearchUtils.ts index ce2429c5653b..5baf35fee518 100644 --- a/src/libs/SearchUtils.ts +++ b/src/libs/SearchUtils.ts @@ -291,11 +291,6 @@ function getSortedSections(type: SearchDataTypes, status: SearchStatus, data: Li } } -function getQueryHash(query: string, policyID?: string, sortBy?: string, sortOrder?: string): number { - const textToHash = [query, policyID, sortOrder, sortBy].filter(Boolean).join('_'); - return UserUtils.hashText(textToHash, 2 ** 32); -} - function getSortedTransactionData(data: TransactionListItemType[], sortBy?: SearchColumnType, sortOrder?: SortOrder) { if (!sortBy || !sortOrder) { return data; @@ -601,7 +596,6 @@ export { getCurrentSearchParams, getFilters, getListItem, - getQueryHash, getSearchHeaderTitle, getSearchType, getSections,