🏗️ Refactoring AirDC++ search method

This commit is contained in:
2023-11-28 20:43:47 -05:00
parent c3573e67e2
commit 96890ad1e4
2 changed files with 5 additions and 6 deletions

View File

@@ -115,11 +115,11 @@ export const search = async (data: SearchData, ADCPPSocket: any) => {
// The search can now be considered to be "complete"
// If there's an "in progress" indicator in the UI, that could also be disabled here
dispatch({
type: AIRDCPP_HUB_SEARCHES_SENT,
searchInfo,
instance,
});
// dispatch({
// type: AIRDCPP_HUB_SEARCHES_SENT,
// searchInfo,
// instance,
// });
},
instance.id,
);

View File

@@ -89,7 +89,6 @@ export const AcquisitionPanel = (
}, []);
const getDCPPSearchResults = async (searchQuery) => {
console.log(hubs);
const manualQuery = {
query: {
pattern: `${searchQuery.issueName}`,