Skip to content

Commit

Permalink
rm dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Aug 27, 2024
1 parent fe0e4f3 commit 2f68502
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libs/SearchUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -601,7 +596,6 @@ export {
getCurrentSearchParams,
getFilters,
getListItem,
getQueryHash,
getSearchHeaderTitle,
getSearchType,
getSections,
Expand Down

0 comments on commit 2f68502

Please sign in to comment.