From e95eeb5f27f487bf925aee57c7dbf43269d97a59 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 13 Sep 2021 01:26:09 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Refactoring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/fileops.actions.tsx | 3 +++ src/client/components/DownloadsPanel.tsx | 1 + src/client/shared/utils/trainingData.json | 14 -------------- 3 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 src/client/shared/utils/trainingData.json diff --git a/src/client/actions/fileops.actions.tsx b/src/client/actions/fileops.actions.tsx index 78a5913..f9581ea 100644 --- a/src/client/actions/fileops.actions.tsx +++ b/src/client/actions/fileops.actions.tsx @@ -85,6 +85,9 @@ export const fetchComicBookMetadata = (options) => async (dispatch) => { dataTransferred: true, }); }); + socket.on("comicBookExists", (data) => { + console.log(data); + }); }; export const getComicBooks = (options) => async (dispatch) => { diff --git a/src/client/components/DownloadsPanel.tsx b/src/client/components/DownloadsPanel.tsx index dfa4c1d..8dffd6d 100644 --- a/src/client/components/DownloadsPanel.tsx +++ b/src/client/components/DownloadsPanel.tsx @@ -47,6 +47,7 @@ export const DownloadsPanel = ( ); const Bundles = (props) => { + console.log(props) return (
diff --git a/src/client/shared/utils/trainingData.json b/src/client/shared/utils/trainingData.json deleted file mode 100644 index 0897e1d..0000000 --- a/src/client/shared/utils/trainingData.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - {"phrase": "Twelve issue mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Trade paperback collecting Jean Grey #7-11.", "result": {"paperback": 1}}, - {"phrase": "Trade paperback collecting Iron Fist #6-7 & 73-77", "result": {"paperback ": 1}}, - {"phrase": "Collected Editions", "result": {"paperback": 1}}, - {"phrase": "Six issue mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Four issue mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Seventy-two issue digital prequel to the Injustice 2 video game.", "result": {"not_a_paperback": 1}}, - {"phrase": "Total issues in this volume:50", "result": {"paperback": 1}}, - {"phrase": "Five issue mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Digital mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Six issue mini-series.", "result": {"not_a_paperback": 1}}, - {"phrase": "Six issue mini-series.", "result": {"not_a_paperback": 1}} - ] \ No newline at end of file