Skip to content

Commit 84b40a0

Browse files
Update components/dash-core-components/src/fragments/Math.react.js
Co-authored-by: Alex Johnson <[email protected]>
1 parent a8ea8e8 commit 84b40a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dash-core-components/src/fragments/Math.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class DashMath extends Component {
2121
}
2222

2323
renderMath() {
24-
if (window.MathJax && window.MathJax.typeset) {
24+
if (window.MathJax?.typeset) {
2525
window.MathJax.typeset([this.span_element.current]);
2626
}
2727
}

0 commit comments

Comments
 (0)