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): source control host settings compile with the React Compiler (#20498)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 16, 2026 at 18:53 UTC
5c43d16ec7afbbd86a37165b5395dc9921391feb
2 files changed
+7
-9
apps/web/reactCompiledFiles.ts
+1
@@ -73,4 +73,5 @@ export const REACT_COMPILED_FILES = [
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
+ "apps/web/src/components/settings/SourceControlHostSettings.tsx",
77
] as const;
apps/web/src/components/settings/SourceControlHostSettings.tsx
+6
-9
@@ -32,15 +32,12 @@ export function SourceControlHostSettings({
32
33
const save = async (fields: Record<string, unknown>) => {
34
setSaving(true);
35
- try {
36
- const result = await updateSettings({
37
- environmentId,
38
- input: { patch: { sourceControlHosts: { [definition.kind]: fields } } },
39
- });
40
- if (result._tag === "Success") onSaved();
41
- } finally {
42
- setSaving(false);
43
- }
35
+ const result = await updateSettings({
36
+ environmentId,
37
+ input: { patch: { sourceControlHosts: { [definition.kind]: fields } } },
38
+ });
39
+ setSaving(false);
40
+ if (result._tag === "Success") onSaved();
41
};
42
43
return (