The best way to control Claude Code, Codex and more from any computer or phone
perf(web): device setup compiles with the React Compiler (#20488)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 16, 2026 at 18:53 UTC
7157b766996fcf983cdf76e15bf23465329e886d
2 files changed
+4
-6
apps/web/reactCompiledFiles.ts
+1
@@ -63,4 +63,5 @@ export const REACT_COMPILED_FILES = [
63
"apps/web/src/components/ProviderUpdatesAction.tsx",
64
"apps/web/src/components/media/MediaVideoPlayer.tsx",
65
"apps/web/src/components/media/MediaActions.tsx",
66
+ "apps/web/src/components/device/DeviceSetup.tsx",
67
] as const;
apps/web/src/components/device/DeviceSetup.tsx
+3
-6
@@ -107,12 +107,9 @@ export function DeviceSetup(props: {
107
) => {
108
if (!readEnvironmentScope(props.environmentId, AuthSettingsWriteScope)) return;
109
setPending(kind);
110
- try {
111
- const result = await configure({ environmentId: props.environmentId, input });
112
- if (kind === "complete" && result._tag === "Success") props.onComplete?.();
113
- } finally {
114
- setPending(null);
115
- }
110
+ const result = await configure({ environmentId: props.environmentId, input });
111
+ setPending(null);
112
+ if (kind === "complete" && result._tag === "Success") props.onComplete?.();
113
};
114
115
return (