1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

feat: optimize code

This commit is contained in:
杨国璇
2025-01-09 16:28:50 +08:00
parent e8f261e0a9
commit e63fd15785
17 changed files with 124 additions and 130 deletions

View File

@@ -2141,6 +2141,7 @@ class LibContentView extends React.Component {
};
updatePath = (path) => {
if (this.state.path === path) return;
this.setState({ path });
};