@devries-cameron20 / t3code Mirror · read-only / commits / 0b110ce0db
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 23, 06:45 UTC

perf(web): the thread find bar compiles with the React Compiler (#20600)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 16, 2026 at 22:02 UTC 0b110ce0dbd730a3e24acd605cec322e5300294a
1 file changed +5 -1
apps/web/src/components/chat/ThreadFindBar.tsx
+5 -1
@@ -30,7 +30,11 @@ export function ThreadFindBar(props: ThreadFindBarProps) {
30 if (!props.open) return;
31 inputRef.current?.focus();
32 inputRef.current?.select();
33 - }, [props.focusRequestId, props.open]);
33 + }, [
34 + // oxlint-disable-next-line react/exhaustive-effect-dependencies -- Each find shortcut bumps the request id, so an already-open bar refocuses and reselects its query.
35 + props.focusRequestId,
36 + props.open,
37 + ]);
38
39 if (!props.open) return null;
40