mirror of
https://github.com/mue/mue.git
synced 2026-07-13 20:13:47 +02:00
chore: release 6.0.5
This commit is contained in:
10
src/index.js
10
src/index.js
@@ -1,4 +1,4 @@
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { render } from 'react-dom';
|
||||
|
||||
import App from './App';
|
||||
import variables from 'modules/variables';
|
||||
@@ -47,7 +47,7 @@ if (localStorage.getItem('stats') === 'true') {
|
||||
variables.keybinds = JSON.parse(localStorage.getItem('keybinds') || '{}');
|
||||
}*/
|
||||
|
||||
const container = document.getElementById('root');
|
||||
const root = createRoot(container);
|
||||
|
||||
root.render(<App/>);
|
||||
render(
|
||||
<App/>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user