From 7c7b8a37c066a738ea49e9ebc7ee12be95922e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miika=20H=C3=A4nninen?= Date: Mon, 18 Jul 2016 17:00:48 +0300 Subject: [PATCH] Fix mistyped component lifecycle methods --- src/client/components/OfflineLogin.jsx | 2 +- .../ParticipantDetailsPage/ParticipantDetailsPage.jsx | 2 +- .../components/ParticipantListPage/ParticipantSidebar.jsx | 2 +- .../components/RegistryUserListPage/UserManagementPage.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/components/OfflineLogin.jsx b/src/client/components/OfflineLogin.jsx index 46459640..4b373a71 100644 --- a/src/client/components/OfflineLogin.jsx +++ b/src/client/components/OfflineLogin.jsx @@ -13,7 +13,7 @@ export function getLogin(userActions, userStore) { userStore.listen(this.onStoreChanged); } - componentWillUnMount() { + componentWillUnmount() { userStore.unlisten(this.onStoreChanged); } diff --git a/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx b/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx index 53d147bd..0c346b05 100644 --- a/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx +++ b/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx @@ -28,7 +28,7 @@ export function getParticipantDetailsPage(participantStore, participantActions) participantStore.listen(this.onStoreChanged); } - componentWillUnMount() { + componentWillUnmount() { participantStore.unlisten(this.onStoreChanged); } diff --git a/src/client/components/ParticipantListPage/ParticipantSidebar.jsx b/src/client/components/ParticipantListPage/ParticipantSidebar.jsx index c3ac8a72..1dce4238 100644 --- a/src/client/components/ParticipantListPage/ParticipantSidebar.jsx +++ b/src/client/components/ParticipantListPage/ParticipantSidebar.jsx @@ -54,7 +54,7 @@ export function getParticipantSidebar(searchFilterStore, searchFilterActions) { searchFilterStore.listen(this.onChange); } - componentWillUnMount() { + componentWillUnmount() { searchFilterStore.unlisten(this.onChange); } diff --git a/src/client/components/RegistryUserListPage/UserManagementPage.jsx b/src/client/components/RegistryUserListPage/UserManagementPage.jsx index ded76ddc..706f8fc5 100644 --- a/src/client/components/RegistryUserListPage/UserManagementPage.jsx +++ b/src/client/components/RegistryUserListPage/UserManagementPage.jsx @@ -17,7 +17,7 @@ export function getUserManagementPage(registryUserStore, registryUserActions) { registryUserStore.listen(this.onStoreChanged); } - componentWillUnMount() { + componentWillUnmount() { registryUserStore.unlisten(this.onStoreChanged); }