Skip to content

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

chore: fix minor code style issues

Gabriel Stein140dde5831b3
diff --git a/src/App.jsx b/src/App.jsx
index 5b22d4554..fa682d35b 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -113,7 +113,6 @@ export default function App() {
}
);
-
const handleClose = () => {
window.electronAPI.hideWindow();
};
@@ -161,7 +160,6 @@ export default function App() {
};
const micState = getMicState();
- const isListening = isRecording || isProcessing;
// Get microphone button properties based on state
const getMicButtonProps = () => {
@@ -327,10 +325,10 @@ export default function App() {
<button
className="w-full px-3 py-2 text-left text-sm hover:bg-white/10 focus:bg-white/10 focus:outline-none"
onClick={() => {
- setIsCommandMenuOpen(false);
- setWindowInteractivity(false);
- handleClose();
- }}
+ setIsCommandMenuOpen(false);
+ setWindowInteractivity(false);
+ handleClose();
+ }}
>
Hide this for now
</button>
diff --git a/src/helpers/ipcHandlers.js b/src/helpers/ipcHandlers.js
index 56b757ce6..0d975cb3d 100644
--- a/src/helpers/ipcHandlers.js
+++ b/src/helpers/ipcHandlers.js
@@ -250,7 +250,6 @@ class IPCHandlers {
return result;
} catch (error) {
-
// Send error event
event.sender.send("whisper-download-progress", {
type: "error",