@devries-cameron20 / t3code Mirror · read-only / commits / ef78932dc8
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, 08:00 UTC

perf(web): GitHub account settings compile with the React Compiler (#20497)

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

Julius Marminge committed Oct 16, 2026 at 18:53 UTC ef78932dc867d7ae836f0a37dc03bd2fb9d76ad9
2 files changed +10 -12
apps/web/reactCompiledFiles.ts
+1
@@ -72,4 +72,5 @@ export const REACT_COMPILED_FILES = [
72 "apps/web/src/components/pullRequest/PullRequestThreadLinks.tsx",
73 "apps/web/src/components/pullRequest/LinkPullRequestDialog.tsx",
74 "apps/web/src/components/settings/GitHubTokenSettings.tsx",
75 + "apps/web/src/components/settings/GitHubAccountSettings.tsx",
76 ] as const;
apps/web/src/components/settings/GitHubAccountSettings.tsx
+9 -12
@@ -55,19 +55,16 @@ export function GitHubAccountSettings({
55 change: { readonly enabled?: boolean; readonly account?: string | null },
56 ) => {
57 setSaving(true);
58 - try {
59 - const result = await updateSettings({
60 - environmentId,
61 - input: {
62 - patch: {
63 - sourceControlHosts: { github: { hosts: nextGitHubHosts(hosts, host, change) } },
64 - },
58 + const result = await updateSettings({
59 + environmentId,
60 + input: {
61 + patch: {
62 + sourceControlHosts: { github: { hosts: nextGitHubHosts(hosts, host, change) } },
63 },
66 - });
67 - if (result._tag === "Success") onSaved();
68 - } finally {
69 - setSaving(false);
70 - }
64 + },
65 + });
66 + setSaving(false);
67 + if (result._tag === "Success") onSaved();
68 };
69
70 if (groups.length === 0) {