diff --git a/src/index.jsx b/src/index.jsx index 0b209ef2..17d28ca8 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -4,6 +4,8 @@ import 'regenerator-runtime/runtime'; import React from 'react'; import ReactDOM from 'react-dom'; +import { MathJaxContext } from 'better-react-mathjax'; + import { APP_INIT_ERROR, APP_READY, initialize, subscribe, } from '@edx/frontend-platform'; @@ -11,6 +13,7 @@ import { AppProvider, ErrorPage } from '@edx/frontend-platform/react'; import { DiscussionsHome } from './discussions'; import appMessages from './i18n'; +import configMaths from './mathjax-config'; import store from './store'; import './assets/favicon.ico'; @@ -18,9 +21,11 @@ import './index.scss'; subscribe(APP_READY, () => { ReactDOM.render( - - - , + + + + + , document.getElementById('root'), ); });