Skip to content

Commit

Permalink
timeline feed: render mathematical content in the request comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anikachurilova committed Aug 20, 2024
1 parent 11ead41 commit b8819b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ class TimelineFeed extends Component {
getTimelineWithRefresh();
}

componentDidUpdate() {
if (window.MathJax) {
window.MathJax.typeset();
}
}

componentWillUnmount() {
const { timelineStopRefresh } = this.props;
timelineStopRefresh();
Expand Down

0 comments on commit b8819b4

Please sign in to comment.