diff --git a/src/containers/soapbox.tsx b/src/containers/soapbox.tsx index e8b657d282..b63e42f3bf 100644 --- a/src/containers/soapbox.tsx +++ b/src/containers/soapbox.tsx @@ -10,9 +10,9 @@ import { checkOnboardingStatus } from '../actions/onboarding'; import { preload } from '../actions/preload'; import { store } from '../store'; -import SoapboxHead from './soapbox-head'; -import SoapboxLoad from './soapbox-load'; -import SoapboxMount from './soapbox-mount'; +const SoapboxHead = React.lazy(() => import('./soapbox-head')); +const SoapboxLoad = React.lazy(() => import('./soapbox-load')); +const SoapboxMount = React.lazy(() => import('./soapbox-mount')); // Configure global functions for developers createGlobals(store);