Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix: await transcription

Gabriel Stein0cad59b660c6
diff --git a/src/App.jsx b/src/App.jsx
index 3d14e6421..676778bb4 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -218,7 +218,7 @@ export default function App() {
}}
>
{isRecording && isHovered && (
- <Tooltip content="Stop recording">
+ <Tooltip content="Cancel recording">
<button
aria-label="Cancel recording"
onClick={(e) => {
diff --git a/src/helpers/audioManager.js b/src/helpers/audioManager.js
index 81d8db9fd..3c3157373 100644
--- a/src/helpers/audioManager.js
+++ b/src/helpers/audioManager.js
@@ -207,7 +207,7 @@ class AudioManager {
});
result = await this.processWithOpenAIAPI(audioBlob, metadata);
}
- this.onTranscriptionComplete?.(result);
+ await this.onTranscriptionComplete?.(result);
} catch (error) {
this.markLatencyStage(
"05_transcription_failed",