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

Update react version 3 (#7453)

* update react version

* update reactstrap

* optimize code

* update react-select version

* update react-responsive

* update react-chartjs version

* update qrocde version

* update seafile-editor version

* update tldraw editor version

* fix code bug
This commit is contained in:
杨顺强
2025-02-14 14:04:25 +08:00
committed by GitHub
parent ef7ac1dd8b
commit ccab6f1552
112 changed files with 2301 additions and 1357 deletions

View File

@@ -60,7 +60,7 @@ class ViewModes extends React.Component {
id="cur-view-change-mode-dropdown"
>
<DropdownToggle
tag="div"
tag="span"
data-toggle="dropdown"
title={gettext('Switch view mode')}
aria-label={gettext('Switch view mode')}
@@ -71,7 +71,7 @@ class ViewModes extends React.Component {
<span className={'sf3-font sf3-font-down'}></span>
</span>
</DropdownToggle>
<DropdownMenu right={true} className="mt-1">
<DropdownMenu className="mt-1">
{options.map((item, index) => {
return (
<DropdownItem className='p-0' key={index} onClick={this.props.switchViewMode.bind(this, item.value)}>