mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
fix(EpisodePicker): remove named export
This commit is contained in:
parent
3c2ab92bd6
commit
3bc075d0a1
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ type Props = {
|
||||||
seriesId: string;
|
seriesId: string;
|
||||||
onSubmit: (season: number, episode: number) => void;
|
onSubmit: (season: number, episode: number) => void;
|
||||||
};
|
};
|
||||||
export const EpisodePicker = ({ className, onSubmit }: Props) => {
|
|
||||||
|
const EpisodePicker = ({ className, onSubmit }: Props) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const splitPath = window.location.hash.split('/');
|
const splitPath = window.location.hash.split('/');
|
||||||
const videoId = decodeURIComponent(splitPath[splitPath.length - 1]);
|
const videoId = decodeURIComponent(splitPath[splitPath.length - 1]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue