Skip to content

Conversation

@seer-by-sentry
Copy link
Contributor

Fixes ECENCY-NEXT-VM2. The issue was that: Comment Entry object from API contains null properties, causing minified React component to throw TypeError during rendering.

  • Make stats property optional in Entry type.
  • Handle null stats in discussion-item.tsx and mute-btn/index.tsx.
  • Handle null value in post-content-renderer.tsx.
  • Provide default values for stats properties when they are null in entries-cache.tsx.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 29590

Not quite right? Click here to continue debugging with Seer.

@feruzm feruzm merged commit 496a786 into develop Sep 24, 2025
@feruzm feruzm deleted the seer/fix-null-stats branch September 24, 2025 09:31
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