Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#97638)

hermes-seaeye[bot]cb77fcb008fb
diff --git a/apps/desktop/src/plugins/kanban/api.ts b/apps/desktop/src/plugins/kanban/api.ts
index 39951e87b79..d079693acea 100644
--- a/apps/desktop/src/plugins/kanban/api.ts
+++ b/apps/desktop/src/plugins/kanban/api.ts
@@ -269,10 +269,9 @@ export const updateBoard = (slug: string, patch: Record<string, unknown>) =>
/** Archive a board to `boards/_archived/` — recoverable, and the backend
* refuses to touch `default`. (`?delete=true` hard-deletes; no caller yet.) */
export const deleteBoard = (slug: string) =>
- call<{ result: { action: string; new_path: string }; current: string }>(
- `/boards/${encodeURIComponent(slug)}`,
- { method: 'DELETE' }
- )
+ call<{ result: { action: string; new_path: string }; current: string }>(`/boards/${encodeURIComponent(slug)}`, {
+ method: 'DELETE'
+ })
// Board transfer exchanges filesystem paths, not bytes — the picker runs on
// the machine hosting the backend, so the backend reads and writes the file.
diff --git a/apps/desktop/src/plugins/kanban/board-switcher.tsx b/apps/desktop/src/plugins/kanban/board-switcher.tsx
index b4c65972853..b890c146f16 100644
--- a/apps/desktop/src/plugins/kanban/board-switcher.tsx
+++ b/apps/desktop/src/plugins/kanban/board-switcher.tsx
@@ -206,12 +206,7 @@ function NewBoardDialog({ onClose, open }: { onClose: () => void; open: boolean
>
{/* Enter submits only while the scope is untouched — once a project is
picked the choice is worth a deliberate click. */}
- <BoardNameField
- onChange={setName}
- onEnter={() => slug && !project && create.mutate()}
- slug={slug}
- value={name}
- />
+ <BoardNameField onChange={setName} onEnter={() => slug && !project && create.mutate()} slug={slug} value={name} />
<ProjectPicker onChange={setProject} value={project} />
</BoardDialog>
)
diff --git a/apps/desktop/src/plugins/kanban/i18n.ts b/apps/desktop/src/plugins/kanban/i18n.ts
index 466986b4eaa..8f36823bab5 100644
--- a/apps/desktop/src/plugins/kanban/i18n.ts
+++ b/apps/desktop/src/plugins/kanban/i18n.ts
@@ -390,8 +390,7 @@ export const en: KanbanMessages = {
boardImportedAs: slug => `That name was taken — imported as ${slug}`,
renameBoardTitle: 'Rename board',
deleteBoardTitle: name => `Delete "${name}"?`,
- deleteBoardConfirm:
- 'The board is archived, not erased — its tasks and attachments stay on disk and can be restored.',
+ deleteBoardConfirm: 'The board is archived, not erased — its tasks and attachments stay on disk and can be restored.',
boardArchived: path => `Board archived to ${path}`,
boardSettingsFor: name => `Board settings — ${name}`,
name: 'Name',