Skip to content

Commit e98e4a0

Browse files
committed
refactor: remove static console logs
1 parent bbc9e58 commit e98e4a0

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

src/popup/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function App() {
1919
const onclick = async () => {
2020
if (transcriptService) {
2121
const text = await transcriptService.textTranscriptionVideo();
22-
console.log(text);
2322
setTextTranscript(text);
2423
}
2524
};

src/services/transcript.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ class TranscriptService {
2828
'style-scope ytd-video-description-transcript-section-renderer';
2929
const transcriptSegmentsContainerID = 'segments-container';
3030

31-
// get transcript s
31+
// get transcripts
3232
const transcriptSectionAviable = document.getElementsByClassName(ytTranscriptSectionStyle);
33-
3433
if (!transcriptSectionAviable) {
3534
return null;
3635
}

0 commit comments

Comments
 (0)