1
0
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:
王健辉
2019-01-05 15:22:08 +08:00
committed by Daniel Pan
parent 797d0a6db2
commit 807a4c49a4
2 changed files with 4 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ class DirView extends React.Component {
}
componentWillUnmount() {
collabServer.unwatchRepo(this.props.repoID);
collabServer.unwatchRepo(this.props.repoID, this.onRepoUpdateEvent);
}
componentDidUpdate() {