@devries-cameron20 / t3code-1 / commits / 72dac23730
Fork 0

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

perf(web): telemetry export settings compile with the React Compiler (#20500)

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

Julius Marminge committed Oct 16, 2026 at 18:53 UTC 72dac237304e5c7dddc55ca880e39c374ee66e3c
2 files changed +14 -16
apps/web/reactCompiledFiles.ts
+1
@@ -75,4 +75,5 @@ export const REACT_COMPILED_FILES = [
75 "apps/web/src/components/settings/GitHubAccountSettings.tsx",
76 "apps/web/src/components/settings/SourceControlHostSettings.tsx",
77 "apps/web/src/components/settings/UsageProviderSettings.tsx",
78 + "apps/web/src/components/settings/TelemetryExportSettings.tsx",
79 ] as const;
apps/web/src/components/settings/TelemetryExportSettings.tsx
+13 -16
@@ -119,23 +119,20 @@ function TelemetryExportForm() {
119 if (!environment || saving) return;
120 setSaving(true);
121 setMessage(null);
122 - try {
123 - const result = await updateSettings({
124 - environmentId: environment.environmentId,
125 - input: {
126 - patch: {
127 - observability: Object.fromEntries(
128 - changedSignals.map(({ key }) => [key, values[key]]),
129 - ),
130 - },
122 + const result = await updateSettings({
123 + environmentId: environment.environmentId,
124 + input: {
125 + patch: {
126 + observability: Object.fromEntries(
127 + changedSignals.map(({ key }) => [key, values[key]]),
128 + ),
129 },
132 - });
133 - if (result._tag === "Success") {
134 - setDraft({});
135 - setMessage("Saved. Restart the server to apply.");
136 - }
137 - } finally {
138 - setSaving(false);
130 + },
131 + });
132 + setSaving(false);
133 + if (result._tag === "Success") {
134 + setDraft({});
135 + setMessage("Saved. Restart the server to apply.");
136 }
137 }}
138 >