@devries-cameron20 / t3code Mirror · read-only / commits / b28dc0eb1d
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 21, 14:45 UTC

perf(mobile): Changes tab no longer redraws every file when one changes (#25872)

Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Andrei committed Nov 14, 2026 at 20:31 UTC b28dc0eb1d8ac4b95292bdfc95ea2a3f9ad2600b
1 file changed +1 -7
apps/mobile/src/features/review/useReviewDiffData.ts
+1 -7
@@ -142,13 +142,7 @@ export function useReviewDiffData(input: {
142 });
143 const registry = useContext(RegistryContext);
144 const { environmentId, cwd } = input;
145 - const scope = JSON.stringify([
146 - environmentId,
147 - cwd,
148 - source?.kind,
149 - source?.baseRef,
150 - source?.diffHash,
151 - ]);
145 + const scope = JSON.stringify([environmentId, cwd, lazySource?.kind, source?.baseRef]);
146 const [requested, setRequested] = useState({ scope, indices: [0, 1, 2] });
147 const indices = useMemo(
148 () => new Set(requested.scope === scope ? requested.indices : [0, 1, 2]),