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:
@@ -2141,6 +2141,7 @@ class LibContentView extends React.Component {
|
||||
};
|
||||
|
||||
updatePath = (path) => {
|
||||
if (this.state.path === path) return;
|
||||
this.setState({ path });
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user