1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-24 04:48:03 +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:
杨顺强
2022-12-24 10:41:34 +08:00
committed by GitHub
parent bf313b947c
commit 3faa4acb8e
70 changed files with 669 additions and 1297 deletions

View File

@@ -1,5 +1,5 @@
import React, { Fragment } from 'react';
import ReactDOM from 'react-dom';
import { createRoot } from 'react-dom/client';
import { Utils } from '../../utils/utils';
import { seafileAPI } from '../../utils/seafile-api';
import { gettext } from '../../utils/constants';
@@ -72,7 +72,5 @@ class SharedUploadLink extends React.Component {
}
}
ReactDOM.render(
<SharedUploadLink />,
document.getElementById('wrapper')
);
const root = createRoot(document.getElementById('wrapper'));
root.render(<SharedUploadLink />);