Skip to content

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

chore(format): fix prettier drift breaking the quality-check gate

Aditya painuli13772bd60dac
diff --git a/src/components/SettingsPage.tsx b/src/components/SettingsPage.tsx
index e1174a80e..df10b6cc0 100644
--- a/src/components/SettingsPage.tsx
+++ b/src/components/SettingsPage.tsx
@@ -74,7 +74,10 @@ import { useLocalStorage } from "../hooks/useLocalStorage";
import { validateHotkeyForSlot } from "../utils/hotkeyValidation";
import { getPlatform, getCachedPlatform } from "../utils/platform";
import { formatHotkeyLabel } from "../utils/hotkeys";
-import { getLinuxPasteInstallCommands, needsLinuxPasteToolGuidance } from "../utils/linuxPasteTools";
+import {
+ getLinuxPasteInstallCommands,
+ needsLinuxPasteToolGuidance,
+} from "../utils/linuxPasteTools";
import { ActivationModeSelector } from "./ui/ActivationModeSelector";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/select";
import LinuxPttSetupInfo from "./ui/LinuxPttSetupInfo";
diff --git a/src/components/ui/PasteToolsInfo.tsx b/src/components/ui/PasteToolsInfo.tsx
index 41ccc6253..258818d1f 100644
--- a/src/components/ui/PasteToolsInfo.tsx
+++ b/src/components/ui/PasteToolsInfo.tsx
@@ -3,7 +3,10 @@ import { Check, Terminal, Info } from "lucide-react";
import { Button } from "./button";
import { InfoBox } from "./InfoBox";
import type { PasteToolsResult } from "../../types/electron";
-import { getLinuxPasteInstallCommands, needsLinuxPasteToolGuidance } from "../../utils/linuxPasteTools";
+import {
+ getLinuxPasteInstallCommands,
+ needsLinuxPasteToolGuidance,
+} from "../../utils/linuxPasteTools";
interface PasteToolsInfoProps {
pasteToolsInfo: PasteToolsResult | null;
@@ -121,8 +124,11 @@ export default function PasteToolsInfo({
t("pasteToolsInfo.wtypeFallbackDescription")
) : (
<>
- {t("pasteToolsInfo.installPrefix")} {" "}
- <code className="bg-warning/20 px-1 rounded font-mono">{recommendedTool}</code>:
+ {t("pasteToolsInfo.installPrefix")}{" "}
+ <code className="bg-warning/20 px-1 rounded font-mono">
+ {recommendedTool}
+ </code>
+ :
</>
)}
</p>
diff --git a/src/services/WorkspacesService.ts b/src/services/WorkspacesService.ts
index 6c6d9be89..b6519ddf1 100644
--- a/src/services/WorkspacesService.ts
+++ b/src/services/WorkspacesService.ts
@@ -24,10 +24,7 @@ async function create(name: string): Promise<Workspace> {
return res.data;
}
-async function update(
- workspaceId: string,
- patch: { name?: string }
-): Promise<Workspace> {
+async function update(workspaceId: string, patch: { name?: string }): Promise<Workspace> {
const res = await cloudPatch<DataWrap<Workspace>>(`/api/workspaces/${workspaceId}`, patch);
return res.data;
}
diff --git a/src/utils/snippets.ts b/src/utils/snippets.ts
index 39061c8bc..ac2c7e9f2 100644
--- a/src/utils/snippets.ts
+++ b/src/utils/snippets.ts
@@ -76,10 +76,12 @@ export function expandSnippets(text: string, snippets: Snippet[]): string {
* Dictionary words plus snippet triggers — the hint list fed to the STT
* prompt and cleanup-model dictionary suffix so triggers survive both.
*/
-export function getDictionaryHintWords(settings?: {
- customDictionary?: string[] | null;
- snippets?: Snippet[] | null;
-} | null): string[] {
+export function getDictionaryHintWords(
+ settings?: {
+ customDictionary?: string[] | null;
+ snippets?: Snippet[] | null;
+ } | null
+): string[] {
const dictionary = Array.isArray(settings?.customDictionary) ? settings.customDictionary : [];
const snippets = Array.isArray(settings?.snippets) ? settings.snippets : [];
if (snippets.length === 0) return [...dictionary];