diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/apps/release/Release.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/apps/release/Release.js index fc653d7bf40..ba3bf141efa 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/apps/release/Release.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/pages/dashboard/apps/release/Release.js @@ -56,13 +56,6 @@ class Release extends React.Component { } - componentDidUpdate(prevProps, prevState, snapshot) { - if (prevState.uuid !== this.state.uuid) { - const {uuid} = this.props.match.params; - this.fetchData(uuid); - } - } - changeCurrentLifecycleStatus = (status) => { this.setState({ currentLifecycleStatus: status diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/apps/release/Release.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/apps/release/Release.js index a8ad2a6bcd0..ac599f14e60 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/apps/release/Release.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/pages/dashboard/apps/release/Release.js @@ -49,14 +49,6 @@ class Release extends React.Component { this.props.changeSelectedMenuItem(deviceType); } - componentDidUpdate(prevProps, prevState, snapshot) { - if (prevState.uuid !== this.state.uuid) { - const { uuid, deviceType } = this.props.match.params; - this.fetchData(uuid); - this.props.changeSelectedMenuItem(deviceType); - } - } - fetchData = uuid => { const config = this.props.context;