diff --git a/example/index.jsx b/example/index.jsx index 52b37aec5..2388554d4 100644 --- a/example/index.jsx +++ b/example/index.jsx @@ -13,10 +13,11 @@ import { APP_INIT_ERROR, APP_READY, initialize } from '@edx/frontend-platform'; import { subscribe } from '@edx/frontend-platform/pubSub'; import { Routes, Route } from 'react-router-dom'; -import './index.scss'; import ExamplePage from './ExamplePage'; import AuthenticatedPage from './AuthenticatedPage'; +import('./index.scss'); + subscribe(APP_READY, () => { ReactDOM.render(