We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ee2bf3 commit 0a5640fCopy full SHA for 0a5640f
src/app/components/sandbox/CodeEditor/index.js
@@ -1,5 +1,6 @@
1
import React from 'react';
2
import Loadable from 'react-loadable';
3
+import Loading from 'app/components/Loading';
4
import { Preferences } from 'common/types';
5
6
import Monaco from './Monaco';
@@ -10,7 +11,7 @@ type Props = {
10
11
12
const CodeMirror = Loadable({
13
loader: () => import('./CodeMirror'),
- LoadingComponent: 'div',
14
+ LoadingComponent: Loading,
15
});
16
17
export default (props: Props) => {
0 commit comments