Skip to content

Fix issues surfaced while resolving PR merge conflicts - #1254

Merged
hman38705 merged 1 commit into
mainfrom
fix/post-merge-frontend-cleanup
Jul 28, 2026
Merged

Fix issues surfaced while resolving PR merge conflicts#1254
hman38705 merged 1 commit into
mainfrom
fix/post-merge-frontend-cleanup

Conversation

@hman38705

Copy link
Copy Markdown
Contributor

Found while resolving conflicts across the frontend PR batch:

All of src/components/__tests__/ and src/lib/ (260 tests) pass after this fix.

- Align react to 19.2.8 to match react-dom (mismatch from an earlier
  dependabot merge that bumped only react-dom, breaking every React
  test suite).
- Port #1231's non-superseded pieces now that #1241 (not #1231) is the
  chosen API-client-split design: LandingPage aria-describedby wiring
  to the API-error message, and useI18n's document.documentElement.lang
  sync effect.
- Fix six test files still importing `api` from the legacy
  lib/api/client.ts barrel (re-exports admin-client's api) while
  LandingPage/Statistics now import from public-client.ts — the mocks
  were silently not applying, letting real fetch calls leak through
  and break the newsletter-signup mock in the same test.
@hman38705
hman38705 merged commit 463e83f into main Jul 28, 2026
7 of 53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant