From 4b2eaa03a2cd134249985eb39b8796c91c84be8c Mon Sep 17 00:00:00 2001 From: dat Date: Thu, 16 Aug 2018 01:05:23 +0700 Subject: [PATCH 1/2] fix issue #1192 Issue when visiting another membe fix issue #1192 Profile - Issue when visiting another member's profile clear profile before loading profile --- src/shared/containers/Profile.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/containers/Profile.jsx b/src/shared/containers/Profile.jsx index 71ed7a13c9..917487d440 100644 --- a/src/shared/containers/Profile.jsx +++ b/src/shared/containers/Profile.jsx @@ -116,6 +116,7 @@ function mapDispatchToProps(dispatch) { const a = actions.profile; return { loadProfile: (handle) => { + dispatch(a.clearProfile()); dispatch(a.loadProfile(handle)); dispatch(a.getAchievementsInit()); dispatch(a.getExternalAccountsInit()); From 4e9ccd9d0d507087f6776a3fb189218bc854159c Mon Sep 17 00:00:00 2001 From: dat Date: Thu, 16 Aug 2018 01:33:14 +0700 Subject: [PATCH 2/2] update topcoder-react-lib to ^0.4.9 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cb94b5a5db..8f5d1d0b8c 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "slick-carousel": "^1.8.1", "supertest": "^3.1.0", "tc-accounts": "git+https://github.com/appirio-tech/accounts-app.git#dev", - "topcoder-react-lib": "^0.4.8", + "topcoder-react-lib": "^0.4.9", "topcoder-react-ui-kit": "^0.5.2", "topcoder-react-utils": "^0.7.3", "turndown": "^4.0.2",