Skip to content

Commit

Permalink
Update src/routes/MetaDetails/StreamsList/EpisodePicker/EpisodePicker…
Browse files Browse the repository at this point in the history
….tsx

Co-authored-by: Timothy Z. <[email protected]>
  • Loading branch information
Botsy and kKaskak authored Feb 12, 2025
1 parent 37020f3 commit 232c64b
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ const EpisodePicker = ({ className, onSubmit }: Props) => {

const disabled = React.useMemo(() => season === parseInt(pathSeason) && episode === parseInt(pathEpisode), [pathSeason, pathEpisode, season, episode]);

return <div className={className}>
<NumberInput min={0} label={t('SEASON')} defaultValue={season} onUpdate={handleSeasonChange} showButtons />
<NumberInput min={1} label={t('EPISODE')} defaultValue={episode} onUpdate={handleEpisodeChange} showButtons />
<Button className={styles['button-container']} onClick={handleSubmit} disabled={disabled}>
<div className={styles['label']}>{t('SIDEBAR_SHOW_STREAMS')}</div>
</Button>
</div>;
return (

Check failure on line 33 in src/routes/MetaDetails/StreamsList/EpisodePicker/EpisodePicker.tsx

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 0
<div className={className}>
<NumberInput min={0} label={t('SEASON')} defaultValue={season} onUpdate={handleSeasonChange} showButtons />
<NumberInput min={1} label={t('EPISODE')} defaultValue={episode} onUpdate={handleEpisodeChange} showButtons />
<Button className={styles['button-container']} onClick={handleSubmit} disabled={disabled}>
<div className={styles['label']}>{t('SIDEBAR_SHOW_STREAMS')}</div>
</Button>
</div>
);
};

export default EpisodePicker;

0 comments on commit 232c64b

Please sign in to comment.