|
@@ -2,15 +2,16 @@ import React from 'react';
|
|
|
|
|
|
|
|
import ReactDOM from 'react-dom/client';
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
|
|
|
|
-import { CodeMirrorEditor } from './components';
|
|
|
|
|
|
|
+import { Playground } from './components/playground';
|
|
|
|
|
|
|
|
import './main.scss';
|
|
import './main.scss';
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const rootElem = document.getElementById('root');
|
|
const rootElem = document.getElementById('root');
|
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
|
ReactDOM.createRoot(rootElem!).render(
|
|
ReactDOM.createRoot(rootElem!).render(
|
|
|
<React.StrictMode>
|
|
<React.StrictMode>
|
|
|
- <CodeMirrorEditor />
|
|
|
|
|
|
|
+ <Playground />
|
|
|
</React.StrictMode>,
|
|
</React.StrictMode>,
|
|
|
);
|
|
);
|