diff --git a/src/components/TranscriptView.tsx b/src/components/TranscriptView.tsx index 5ba0439..d0cb010 100644 --- a/src/components/TranscriptView.tsx +++ b/src/components/TranscriptView.tsx @@ -1,5 +1,10 @@ import { useEffect, useState } from "react"; -import { exportFilename, transcriptToSrt, transcriptToTxt } from "../lib/export"; +import { + exportFilename, + transcriptToSrt, + transcriptToTimestampedTxt, + transcriptToTxt, +} from "../lib/export"; import type { TranscriptChunk } from "../worker/protocol"; interface TranscriptViewProps { @@ -121,6 +126,22 @@ export function TranscriptView({ .srt )} + {result && result.chunks.length > 0 && ( + + )}