fix(web-ui): reset Markdown error boundary when content changes by clearme777 · Pull Request #118 · GCWing/BitFun
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters