From 96890ad1e43ee4e98308a8234df785fcff5b2260 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Tue, 28 Nov 2023 20:43:47 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20Refactoring=20AirDC++?= =?UTF-8?q?=20search=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/airdcpp.actions.tsx | 10 +++++----- src/client/components/ComicDetail/AcquisitionPanel.tsx | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/client/actions/airdcpp.actions.tsx b/src/client/actions/airdcpp.actions.tsx index 3cefb33..74550fb 100644 --- a/src/client/actions/airdcpp.actions.tsx +++ b/src/client/actions/airdcpp.actions.tsx @@ -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, ); diff --git a/src/client/components/ComicDetail/AcquisitionPanel.tsx b/src/client/components/ComicDetail/AcquisitionPanel.tsx index 1a1e0fc..9913318 100644 --- a/src/client/components/ComicDetail/AcquisitionPanel.tsx +++ b/src/client/components/ComicDetail/AcquisitionPanel.tsx @@ -89,7 +89,6 @@ export const AcquisitionPanel = ( }, []); const getDCPPSearchResults = async (searchQuery) => { - console.log(hubs); const manualQuery = { query: { pattern: `${searchQuery.issueName}`,