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

Julius Marminge9709a1f5ae33
diff --git a/apps/web/src/lib/gitReactQuery.ts b/apps/web/src/lib/gitReactQuery.ts
index 9a75c9520..7a0becf04 100644
--- a/apps/web/src/lib/gitReactQuery.ts
+++ b/apps/web/src/lib/gitReactQuery.ts
@@ -179,7 +179,7 @@ export function gitRemoveWorktreeMutationOptions(input: {
if (!input.api) {
throw new Error("Git worktree removal is unavailable.");
}
- return input.api.git.removeWorktree({ cwd, path, force: force ?? null });
+ return input.api.git.removeWorktree({ cwd, path, force });
},
onSettled: async () => {
await invalidateGitQueries(input.queryClient);