mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
[fix repo-update-toast bug] remove unnecessary listener&function (#2765)
This commit is contained in:
@@ -110,7 +110,7 @@ class DirView extends React.Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
collabServer.unwatchRepo(this.props.repoID);
|
||||
collabServer.unwatchRepo(this.props.repoID, this.onRepoUpdateEvent);
|
||||
}
|
||||
|
||||
componentDidUpdate() {
|
||||
|
Reference in New Issue
Block a user