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) {