@devries-cameron20 / t3code Mirror · read-only / commits / d1c2346eec
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): SnapShot setup dialog compile with the React Compiler (#20503)

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

Julius Marminge committed Oct 16, 2026 at 18:53 UTC d1c2346eec239946b24ec6beba28a3773debda28
2 files changed +3 -5
apps/web/reactCompiledFiles.ts
+1
@@ -78,4 +78,5 @@ export const REACT_COMPILED_FILES = [
78 "apps/web/src/components/settings/TelemetryExportSettings.tsx",
79 "apps/web/src/components/settings/useHostConnectionChecks.ts",
80 "apps/web/src/components/settings/useProjectScriptSettings.ts",
81 + "apps/web/src/components/settings/SnapShotSetupDialog.tsx",
82 ] as const;
apps/web/src/components/settings/SnapShotSetupDialog.tsx
+2 -5
@@ -138,11 +138,8 @@ export function SnapShotSetupDialog({
138 if (busy) return;
139 setChecking(true);
140 setChecked(false);
141 - try {
142 - setChecked((await onRefresh()) !== undefined);
143 - } finally {
144 - setChecking(false);
145 - }
141 + const refreshed = await onRefresh().finally(() => setChecking(false));
142 + setChecked(refreshed !== undefined);
143 };
144 const accessCopy =
145 state.message && !macPermissions