From eb85ede5d87dc1f8ae690af5001fa86456f40f5e Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Mon, 4 Oct 2021 11:22:58 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Cleaning=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/comicinfo.actions.tsx | 1 - src/client/actions/fileops.actions.tsx | 3 --- src/client/components/ComicDetail.tsx | 8 +++++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx index cb335a7..102459f 100644 --- a/src/client/actions/comicinfo.actions.tsx +++ b/src/client/actions/comicinfo.actions.tsx @@ -7,7 +7,6 @@ import { CV_API_CALL_IN_PROGRESS, CV_API_GENERIC_FAILURE, IMS_COMIC_BOOK_DB_OBJECT_CALL_IN_PROGRESS, - IMS_COMIC_BOOK_DB_OBJECT_CALL_FAILED, IMS_COMIC_BOOK_DB_OBJECT_FETCHED, IMS_COMIC_BOOK_ARCHIVE_EXTRACTION_SUCCESS, } from "../constants/action-types"; diff --git a/src/client/actions/fileops.actions.tsx b/src/client/actions/fileops.actions.tsx index a7ec3b8..26b5cfb 100644 --- a/src/client/actions/fileops.actions.tsx +++ b/src/client/actions/fileops.actions.tsx @@ -1,10 +1,8 @@ import axios from "axios"; -import { useContext } from "react"; import { IFolderData, IExtractedComicBookCoverFile } from "threetwo-ui-typings"; import { API_BASE_URI, SOCKET_BASE_URI } from "../constants/endpoints"; import { IMS_COMICBOOK_METADATA_FETCHED, - IMS_SOCKET_CONNECTION_CONNECTED, IMS_COMIC_BOOK_GROUPS_FETCHED, IMS_COMIC_BOOK_GROUPS_CALL_IN_PROGRESS, IMS_COMIC_BOOK_GROUPS_CALL_FAILED, @@ -15,7 +13,6 @@ import { IMS_CV_METADATA_IMPORT_CALL_IN_PROGRESS, IMS_CV_METADATA_IMPORT_SUCCESSFUL, IMS_CV_METADATA_IMPORT_FAILED, - RMQ_SOCKET_CONNECTED, } from "../constants/action-types"; import { refineQuery } from "../shared/utils/filenameparser.utils"; import sortBy from "array-sort-by"; diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index c9b43c3..952fe8a 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -215,9 +215,11 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => { id: 2, icon: , name: "Archive Operations", - content:
- -
, + content: ( +
+ +
+ ), }, { id: 3,