mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 09:15:01 +03:00
ref: Little refactoring
This commit is contained in:
@@ -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 }));
|
||||
|
||||
Reference in New Issue
Block a user