Skip to content

Commit

Permalink
Merge pull request #140 from partio-scout/bugfix/componentWillUnMount
Browse files Browse the repository at this point in the history
Fix mistyped component lifecycle methods
  • Loading branch information
pompost authored Jul 18, 2016
2 parents 1c8e825 + 7c7b8a3 commit e973b9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/client/components/OfflineLogin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function getLogin(userActions, userStore) {
userStore.listen(this.onStoreChanged);
}

componentWillUnMount() {
componentWillUnmount() {
userStore.unlisten(this.onStoreChanged);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function getParticipantDetailsPage(participantStore, participantActions)
participantStore.listen(this.onStoreChanged);
}

componentWillUnMount() {
componentWillUnmount() {
participantStore.unlisten(this.onStoreChanged);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function getParticipantSidebar(searchFilterStore, searchFilterActions) {
searchFilterStore.listen(this.onChange);
}

componentWillUnMount() {
componentWillUnmount() {
searchFilterStore.unlisten(this.onChange);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getUserManagementPage(registryUserStore, registryUserActions) {
registryUserStore.listen(this.onStoreChanged);
}

componentWillUnMount() {
componentWillUnmount() {
registryUserStore.unlisten(this.onStoreChanged);
}

Expand Down

0 comments on commit e973b9a

Please sign in to comment.