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

prevent unnecessary rerender (#6861)

Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
Aries
2024-10-05 03:26:38 +08:00
committed by GitHub
parent 77b4664920
commit 470f03803c
4 changed files with 0 additions and 6 deletions

View File

@@ -78,7 +78,6 @@ const propTypes = {
showDirentDetail: PropTypes.func.isRequired,
fullDirentList: PropTypes.array,
onItemsScroll: PropTypes.func.isRequired,
isDirentDetailShow: PropTypes.bool.isRequired,
eventBus: PropTypes.object,
};
@@ -276,7 +275,6 @@ class DirColumnView extends React.Component {
onAddFolder={this.props.onAddFolder}
showDirentDetail={this.props.showDirentDetail}
onGridItemClick={this.props.onDirentClick}
isDirentDetailShow={this.props.isDirentDetailShow}
onItemRename={this.props.onItemRename}
onFileTagChanged={this.props.onFileTagChanged}
getMenuContainerSize={this.getMenuContainerSize}