mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
chore: make comments clearer
This commit is contained in:
@@ -48,12 +48,12 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
|
||||
if (!media) return null;
|
||||
|
||||
const { result } = media;
|
||||
let season: number | undefined;
|
||||
let season: number | undefined; // defaults to 1 when undefined
|
||||
let episode: number | undefined;
|
||||
|
||||
if (type === "tv") {
|
||||
// season = <chosen by user> ?? undefined;
|
||||
// episode = <chosen by user> ?? undefined;
|
||||
// season = <chosen by user / continue watching> ?? undefined;
|
||||
// episode = <chosen by user / continue watching> ?? undefined;
|
||||
}
|
||||
|
||||
const scrapeMedia = transformSearchResultToScrapeMedia(
|
||||
|
Reference in New Issue
Block a user