chore: remove comments

This commit is contained in:
Timothy Z. 2026-01-22 12:37:53 +02:00
parent 86db4c47e4
commit f2c9bb6d88
2 changed files with 0 additions and 2 deletions

View file

@ -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]);

View file

@ -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;