You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: repair frontend dev-mode client/server boundaries and axe-core crash
- Add missing "use client" to OfflineBanner and MarketDetailView, which
call client-only hooks directly; without it, dev mode throws
"Attempted to call X() from the server but X is on the client."
(next build didn't catch this since prerendering takes a different path)
- Give @axe-core/react a mutable shallow copy of the React module instead
of the frozen ES module namespace object Turbopack hands client bundles,
so its createElement monkey-patch no longer throws
"Cannot set property createElement ... which has only a getter"
- Update/add reportAccessibility tests to cover the copy behavior and the
new graceful-failure path
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VwH69MWtWXdEwaBWyxEiNb
0 commit comments