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: prevent infinite recursion in Trans components in ChatRow
Fixes#6937 - Maximum call stack size exceeded error
The issue was caused by passing JSX elements with children to the Trans
component's components prop. When the translation string also contained
the same tags, it created infinite recursion during interpolation.
Changed all Trans components to use self-closing tags (e.g., <code />)
instead of tags with children (e.g., <code>{value}</code>) to prevent
the recursion issue.
0 commit comments