Skip to content

fix(web-ui): reset Markdown error boundary when content changes#118

Merged
GCWing merged 1 commit intoGCWing:mainfrom
clearme777:main
Mar 12, 2026
Merged

fix(web-ui): reset Markdown error boundary when content changes#118
GCWing merged 1 commit intoGCWing:mainfrom
clearme777:main

Conversation

@clearme777
Copy link
Collaborator

  • Add componentDidUpdate to MarkdownErrorBoundary to clear hasError when fallbackContent (markdownContent) changes
  • Prevents remark-gfm transformGfmAutolinkLiterals RegExp errors from permanently showing fallback; new messages get a fresh render attempt

- Add componentDidUpdate to MarkdownErrorBoundary to clear hasError
  when fallbackContent (markdownContent) changes
- Prevents remark-gfm transformGfmAutolinkLiterals RegExp errors from
  permanently showing fallback; new messages get a fresh render attempt

Made-with: Cursor
@GCWing GCWing merged commit a8073ec into GCWing:main Mar 12, 2026
2 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.

2 participants