From 524366a3e937c11c8d204f3ec02f1129b2b6e24a Mon Sep 17 00:00:00 2001 From: Mehak Nasir <67791278+mehaknasir@users.noreply.github.com> Date: Wed, 1 Jun 2022 00:15:45 +0500 Subject: [PATCH] Revert "Temp PR to check build issue. (#177)" This reverts commit 2f88aae6ce82863477e1f253674ec4ef914117be. --- src/index.jsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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'), ); });