1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 20:01:10 +00:00

Update dependency 4 (#5348)

* react react-dom reach-router react-image-lightbox

* update seafile-editor version

* optimize codemirror code

* optimize code

* repair code bug

* optimize code

* optimize code

* optimize seafile-editor version

* update seafile-editor version

* optimize code

* optimize code
This commit is contained in:
杨顺强
2022-12-29 12:21:47 +08:00
committed by GitHub
parent 4b82c58b0f
commit 3a4cb45fcf
111 changed files with 1500 additions and 603 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom/client';
import ReactDom from 'react-dom';
import ToastManager from './toastManager';
const isBrowser =
@@ -17,13 +17,13 @@ export default class Toaster {
container.setAttribute('data-evergreen-toaster-container', '');
document.body.appendChild(container);
const root = createRoot(container);
root.render(
ReactDom.render(
<ToastManager
bindNotify={this._bindNotify}
bindGetToasts={this._bindGetToasts}
bindCloseAll={this._bindCloseAll}
/>
/>,
container
);
}