From 8df48ea6ae771105fefc5b3a33c4c375d53c0d30 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 5 Aug 2021 09:17:56 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=20Scaffold=20for=20CV=20metadata?= =?UTF-8?q?=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/comicinfo.actions.tsx | 5 ++++ src/client/components/Library.tsx | 5 +++- src/client/components/MatchResult.tsx | 31 ++++++++++++++++++++++-- 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx index b93433e..7d196da 100644 --- a/src/client/actions/comicinfo.actions.tsx +++ b/src/client/actions/comicinfo.actions.tsx @@ -53,3 +53,8 @@ export const comicinfoAPICall = (options) => async (dispatch) => { }); } }; + +export const applyComicVineMatch = options => async (dispatch) => { + console.log(options) + +} diff --git a/src/client/components/Library.tsx b/src/client/components/Library.tsx index 8f3899e..27f0a4c 100644 --- a/src/client/components/Library.tsx +++ b/src/client/components/Library.tsx @@ -23,6 +23,7 @@ export const Library = ({}: IComicBookLibraryProps): ReactElement => { const data = useSelector( (state: RootState) => state.fileOps.recentComics.docs, ); + const columns = useMemo( () => [ { @@ -48,7 +49,9 @@ export const Library = ({}: IComicBookLibraryProps): ReactElement => {