fix(settings): remove undeclared `error`/`result` variables breaking … #4093
ccantynzcommented Apr 25, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| 48co.ai | Apr 25, 2026 11:46am | ||
| alec-rae-com-admin | Preview, Comment | Apr 25, 2026 11:46am | |
| alecrae | Preview, Comment | Apr 25, 2026 11:46am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into claude/build-email-service-3R7eo.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/AlecRae.com/pull/38
…build
Two blocks in settings/page.tsx referenced
error(andresult) that were never declared as state, causing a TypeScript type-error that aborted the Next.js build. Removed the dead JSX — saveError already handles the profile-save error path and DangerZone has no interactive delete flow.https://claude.ai/code/session_01XVfKC1hik1vrZhJyBV98mH
Description
Type of change
Testing
Checklist
bun run test)bun run lint && bun run typecheck)Breaking changes
N/A
Screenshots
N/A