ref: Little refactoring
parent
ac0a3d9ae7
commit
5afd4af897
@ -1,10 +1,10 @@
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
|
||||
import store, { history } from './store';
|
||||
import Root from './components/Root';
|
||||
|
||||
import './i18n';
|
||||
|
||||
const root = createRoot(document.getElementById('root'));
|
||||
const root = ReactDOM.createRoot(document.getElementById('root'));
|
||||
root.render(React.createElement(Root, { store, history }));
|
||||
|
||||
Loading…
Reference in New Issue