Skip to content

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

fix: reference error in settings page

Gabriel Stein4ae8330e48e7
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index f3977f01a..fae2e8a46 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -209,6 +209,7 @@ export default function SettingsPage({
// Defer heavy operations for better performance
useEffect(() => {
let mounted = true;
+ let unsubscribeUpdates;
// Defer version and update checks to improve initial render
const timer = setTimeout(async () => {
@@ -237,7 +238,7 @@ export default function SettingsPage({
}
}
- const unsubscribeUpdates = subscribeToUpdates();
+ unsubscribeUpdates = subscribeToUpdates();
// Check whisper after initial render
if (mounted) {