@devries-cameron20 / t3code Mirror · read-only / commits / f07b6ac8e6
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 18:30 UTC

Fix react-pacer import and initialize diff state in test

- update `useDebouncedValue` import to `@tanstack/react-pacer` - add missing `diffThreadId`, `diffTurnId`, and `diffFilePath` in thread continuity test state

Julius Marminge committed Feb 18, 2026 at 01:18 UTC f07b6ac8e6d17efde13fe3135bb52159962b5bdc
2 files changed +4 -1
apps/web/src/components/ChatView.tsx
+1 -1
@@ -28,7 +28,7 @@ import {
28 useState,
29 } from "react";
30 import { useMutation, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
31 -import { useDebouncedValue } from "@tanstack/react-pacer/debouncer";
31 +import { useDebouncedValue } from "@tanstack/react-pacer";
32 import { gitBranchesQueryOptions, gitCreateWorktreeMutationOptions } from "~/lib/gitReactQuery";
33 import { projectSearchEntriesQueryOptions } from "~/lib/projectReactQuery";
34 import { checkpointDiffQueryOptions } from "~/lib/providerReactQuery";
apps/web/src/store.test.ts
+3
@@ -655,6 +655,9 @@ describe("store reducer thread continuity", () => {
655 activeThreadId: "thread-a",
656 runtimeMode: "full-access",
657 diffOpen: false,
658 + diffThreadId: null,
659 + diffTurnId: null,
660 + diffFilePath: null,
661 };
662
663 const next = reducer(state, {