@devries-cameron20 / t3code-1 / commits / ebe997981b
Fork 0

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

perf(web): usage provider settings compile with the React Compiler (#20499)

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

Julius Marminge committed Oct 16, 2026 at 18:53 UTC ebe997981ba59f0187581243a8c928f999a54369
2 files changed +8 -10
apps/web/reactCompiledFiles.ts
+1
@@ -74,4 +74,5 @@ export const REACT_COMPILED_FILES = [
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 + "apps/web/src/components/settings/UsageProviderSettings.tsx",
78 ] as const;
apps/web/src/components/settings/UsageProviderSettings.tsx
+7 -10
@@ -49,17 +49,14 @@ export function UsageProviderSettings({
49
50 const setCursorUsageEnabled = async (enabled: boolean) => {
51 setUpdatingCursor(true);
52 - try {
53 - const result = await updateCursorSettings({
54 - environmentId,
55 - input: { patch: { cursorKeychainUsageEnabled: enabled } },
56 - });
57 - if (result._tag === "Success") {
58 - await refreshProviders({ environmentId, input: {} });
59 - }
60 - } finally {
61 - setUpdatingCursor(false);
52 + const result = await updateCursorSettings({
53 + environmentId,
54 + input: { patch: { cursorKeychainUsageEnabled: enabled } },
55 + });
56 + if (result._tag === "Success") {
57 + await refreshProviders({ environmentId, input: {} });
58 }
59 + setUpdatingCursor(false);
60 };
61
62 return (