mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
chore: remove comments
This commit is contained in:
parent
86db4c47e4
commit
f2c9bb6d88
2 changed files with 0 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ const EpisodePicker = ({ className, onSubmit }: Props) => {
|
|||
const { initialSeason, initialEpisode } = useMemo(() => {
|
||||
const splitPath = window.location.hash.split('/');
|
||||
if (splitPath[splitPath.length - 1] === '') {
|
||||
// remove the empty element
|
||||
splitPath.pop();
|
||||
}
|
||||
const videoId = decodeURIComponent(splitPath[splitPath.length - 1]);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ const useSeason = (urlParams, queryParams) => {
|
|||
const nextQueryParams = new URLSearchParams(queryParams);
|
||||
nextQueryParams.set('season', season);
|
||||
const path = urlParams.path.endsWith('/') ?
|
||||
// remove the trailing /
|
||||
urlParams.path.slice(0, -1):
|
||||
urlParams.path;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue