mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +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,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { seafileAPI } from './utils/seafile-api';
|
||||
import { siteRoot, gettext } from './utils/constants';
|
||||
import SharedFileView from './components/shared-file-view/shared-file-view';
|
||||
@@ -105,7 +105,5 @@ class FileContent extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
ReactDOM.render (
|
||||
<SharedFileViewSpreadsheet />,
|
||||
document.getElementById('wrapper')
|
||||
);
|
||||
const root = createRoot(document.getElementById('wrapper'));
|
||||
root.render(<SharedFileViewSpreadsheet />);
|
||||
|
Reference in New Issue
Block a user