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 react-pacer import and initialize diff state in test

Julius Marmingef07b6ac8e6d1
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 86abebcc3..a8efd1e7f 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -28,7 +28,7 @@ import {
useState,
} from "react";
import { useMutation, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
-import { useDebouncedValue } from "@tanstack/react-pacer/debouncer";
+import { useDebouncedValue } from "@tanstack/react-pacer";
import { gitBranchesQueryOptions, gitCreateWorktreeMutationOptions } from "~/lib/gitReactQuery";
import { projectSearchEntriesQueryOptions } from "~/lib/projectReactQuery";
import { checkpointDiffQueryOptions } from "~/lib/providerReactQuery";
diff --git a/apps/web/src/store.test.ts b/apps/web/src/store.test.ts
index fbedc79a0..30a03daf3 100644
--- a/apps/web/src/store.test.ts
+++ b/apps/web/src/store.test.ts
@@ -655,6 +655,9 @@ describe("store reducer thread continuity", () => {
activeThreadId: "thread-a",
runtimeMode: "full-access",
diffOpen: false,
+ diffThreadId: null,
+ diffTurnId: null,
+ diffFilePath: null,
};
const next = reducer(state, {