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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user