From bad4c880b5ab8efa71fed8b1d5c2eee1e20103c3 Mon Sep 17 00:00:00 2001 From: Jip Fr Date: Thu, 15 Jul 2021 18:28:00 +0200 Subject: [PATCH] fix(episode-selector): fix className --- src/components/EpisodeSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EpisodeSelector.js b/src/components/EpisodeSelector.js index 0af01522..e2281106 100644 --- a/src/components/EpisodeSelector.js +++ b/src/components/EpisodeSelector.js @@ -5,7 +5,7 @@ import './EpisodeSelector.css' export function EpisodeSelector({ setSeason, setEpisode, seasons, episodes, currentSeason, currentEpisode }) { return ( -
+
({ value: v.toString(), label: `Season ${v}`}))} selected={currentSeason}/>

setEpisode({episode: e, season: currentSeason})} choices={episodes.map(v=>({ value: v.toString(), label: v}))} selected={currentEpisode.season === currentSeason?currentEpisode.episode:null}/>