From 3957977a2c98178e9fd367ab4d020340a7df957e Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Sun, 14 Apr 2024 15:41:55 -0700 Subject: [PATCH] eslint fixes --- .../AddToQueue/DownloadSelector/Listing/EpisodeListing.tsx | 4 ++-- gui/react/src/components/MenuBar/MenuBar.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/react/src/components/AddToQueue/DownloadSelector/Listing/EpisodeListing.tsx b/gui/react/src/components/AddToQueue/DownloadSelector/Listing/EpisodeListing.tsx index c7cd799..fdd393c 100644 --- a/gui/react/src/components/AddToQueue/DownloadSelector/Listing/EpisodeListing.tsx +++ b/gui/react/src/components/AddToQueue/DownloadSelector/Listing/EpisodeListing.tsx @@ -43,8 +43,8 @@ const EpisodeListing: React.FC = () => { }; const getEpisodesForSeason = (season: string|'all') => { - return store.episodeListing.filter((a) => season === 'all' ? true : a.season === season) - } + return store.episodeListing.filter((a) => season === 'all' ? true : a.season === season); + }; return 0} onClose={close} scroll='paper' maxWidth='xl' sx={{ p: 2 }}> diff --git a/gui/react/src/components/MenuBar/MenuBar.tsx b/gui/react/src/components/MenuBar/MenuBar.tsx index ec873aa..00f5ed8 100644 --- a/gui/react/src/components/MenuBar/MenuBar.tsx +++ b/gui/react/src/components/MenuBar/MenuBar.tsx @@ -18,9 +18,9 @@ const MenuBar: React.FC = () => { dispatch({ type: 'version', payload: await messageChannel.version() - }) + }); })(); - }, [messageChannel]) + }, [messageChannel]); const transformService = (service: StoreState['service']) => { switch(service) {