brackt/app/components/user/settings/__tests__
Claude a35df3f5b0
Fix Discord linking error handling and section routing issues
- Reset linkingDiscord state and show error message when linkSocial throws,
  so users can retry if the OAuth flow fails
- Move VALID_SECTION_IDS to module level and derive it from SECTIONS to
  avoid per-render allocation and prevent the two from drifting out of sync
- Remove premature SectionId cast before the allowlist validation in
  the ?section= URL param handling
- Add tests for loading state and error recovery in AccountSection

Fixes #455

https://claude.ai/code/session_01UerTpTuBWjreTNEns8srkp
2026-05-20 20:22:58 +00:00
..
AccountSection.test.tsx Fix Discord linking error handling and section routing issues 2026-05-20 20:22:58 +00:00