mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
Update dependency 3 (#5344)
* update react react-dom prop-types * update seafile-editor version * install deep-copy denpendency * update router version * repair focus bug * optimize code * optimize code
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
// Import React!
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import i18n from './i18n-seafile-editor';
|
||||
import MarkdownEditor from './pages/markdown-editor';
|
||||
|
||||
import './index.css';
|
||||
|
||||
ReactDOM.render(
|
||||
const root = createRoot(document.getElementById('root'));
|
||||
root.render(
|
||||
<I18nextProvider i18n={ i18n } >
|
||||
<MarkdownEditor />
|
||||
</I18nextProvider>,
|
||||
document.getElementById('root')
|
||||
</I18nextProvider>
|
||||
);
|
||||
|
Reference in New Issue
Block a user