From c26972c42a6368822ac254c00f1bbee5a1542486 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Fri, 1 Sep 2023 01:28:25 +0200 Subject: [PATCH] fix(CompactMovie): Add missing import and remove unnecessary console.log (#496) --- src/parser/classes/CompactMovie.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/classes/CompactMovie.ts b/src/parser/classes/CompactMovie.ts index 7b2d18d7e..542bf5574 100644 --- a/src/parser/classes/CompactMovie.ts +++ b/src/parser/classes/CompactMovie.ts @@ -3,6 +3,7 @@ import type { RawNode } from '../index.js'; import Parser from '../index.js'; import Author from './misc/Author.js'; import NavigationEndpoint from './NavigationEndpoint.js'; +import Text from './misc/Text.js'; import Thumbnail from './misc/Thumbnail.js'; import Menu from './menus/Menu.js'; import { timeToSeconds } from '../../utils/Utils.js'; @@ -29,7 +30,6 @@ export default class CompactMovie extends YTNode { constructor(data: RawNode) { super(); - console.log(data); const overlay_time_status = data.thumbnailOverlays .find((overlay: RawNode) => overlay.thumbnailOverlayTimeStatusRenderer) ?.thumbnailOverlayTimeStatusRenderer.text || 'N/A';