eslint fixes

This commit is contained in:
AnimeDL 2024-04-14 15:41:55 -07:00
parent 56be50c43a
commit 3957977a2c
2 changed files with 4 additions and 4 deletions

View file

@ -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 <Dialog open={store.episodeListing.length > 0} onClose={close} scroll='paper' maxWidth='xl' sx={{ p: 2 }}>
<Box sx={{ display: 'grid', gridTemplateColumns: '1fr 200px 20px' }}>

View file

@ -18,9 +18,9 @@ const MenuBar: React.FC = () => {
dispatch({
type: 'version',
payload: await messageChannel.version()
})
});
})();
}, [messageChannel])
}, [messageChannel]);
const transformService = (service: StoreState['service']) => {
switch(service) {