Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(desktop): default confirm dialog selection to "No" (#1400)

Efroim-Propel5b58f74e9ac1
diff --git a/apps/desktop/src/confirmDialog.ts b/apps/desktop/src/confirmDialog.ts
index 1beda8543..c941d0906 100644
--- a/apps/desktop/src/confirmDialog.ts
+++ b/apps/desktop/src/confirmDialog.ts
@@ -14,7 +14,7 @@ export async function showDesktopConfirmDialog(
const options = {
type: "question" as const,
buttons: ["No", "Yes"],
- defaultId: CONFIRM_BUTTON_INDEX,
+ defaultId: 0,
cancelId: 0,
noLink: true,
message: normalizedMessage,