Skip to content

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

chore: formatting

Gabriel Stein15d3c6abb67a
diff --git a/src/components/OnboardingFlow.tsx b/src/components/OnboardingFlow.tsx
index f0a01eaea..7ebbc3d8e 100644
--- a/src/components/OnboardingFlow.tsx
+++ b/src/components/OnboardingFlow.tsx
@@ -798,12 +798,12 @@ export default function OnboardingFlow({ onComplete }: OnboardingFlowProps) {
{platform === "linux" &&
permissionsHook.pasteToolsInfo &&
!permissionsHook.pasteToolsInfo.available && (
- <PasteToolsInfo
- pasteToolsInfo={permissionsHook.pasteToolsInfo}
- isChecking={permissionsHook.isCheckingPasteTools}
- onCheck={permissionsHook.checkPasteToolsAvailability}
- />
- )}
+ <PasteToolsInfo
+ pasteToolsInfo={permissionsHook.pasteToolsInfo}
+ isChecking={permissionsHook.isCheckingPasteTools}
+ onCheck={permissionsHook.checkPasteToolsAvailability}
+ />
+ )}
</div>
<div className="bg-amber-50 p-4 rounded-lg">
diff --git a/src/helpers/hotkeyManager.js b/src/helpers/hotkeyManager.js
index 07d352c0d..1c9456c74 100644
--- a/src/helpers/hotkeyManager.js
+++ b/src/helpers/hotkeyManager.js
@@ -68,7 +68,9 @@ class HotkeyManager {
*/
getSuggestions(failedHotkey) {
const isCompound = failedHotkey.includes("+");
- const suggestions = isCompound ? [...SUGGESTED_HOTKEYS.compound] : [...SUGGESTED_HOTKEYS.single];
+ const suggestions = isCompound
+ ? [...SUGGESTED_HOTKEYS.compound]
+ : [...SUGGESTED_HOTKEYS.single];
// Filter out the failed hotkey if it's in the suggestions
return suggestions.filter((s) => s !== failedHotkey).slice(0, 3);
diff --git a/src/helpers/whisper.js b/src/helpers/whisper.js
index baa62f92f..fd33629b3 100644
--- a/src/helpers/whisper.js
+++ b/src/helpers/whisper.js
@@ -91,7 +91,13 @@ class WhisperManager {
// ASAR unpacked paths (for when binary is in asarUnpack)
candidates.push(
- path.join(process.resourcesPath, "app.asar.unpacked", "resources", "bin", platformBinaryName),
+ path.join(
+ process.resourcesPath,
+ "app.asar.unpacked",
+ "resources",
+ "bin",
+ platformBinaryName
+ ),
path.join(process.resourcesPath, "app.asar.unpacked", "resources", "bin", genericBinaryName)
);
}