fix(EpisodePicker): remove named export

This commit is contained in:
Botzy 2025-02-12 12:44:21 +02:00
parent 3c2ab92bd6
commit 3bc075d0a1

View file

@ -10,7 +10,8 @@ type Props = {
seriesId: string;
onSubmit: (season: number, episode: number) => void;
};
export const EpisodePicker = ({ className, onSubmit }: Props) => {
const EpisodePicker = ({ className, onSubmit }: Props) => {
const { t } = useTranslation();
const splitPath = window.location.hash.split('/');
const videoId = decodeURIComponent(splitPath[splitPath.length - 1]);