diff --git a/assets/js/Components/ContentPage.js b/assets/js/Components/ContentPage.js index 38b4d5cf..78390795 100644 --- a/assets/js/Components/ContentPage.js +++ b/assets/js/Components/ContentPage.js @@ -77,17 +77,6 @@ class ContentPage extends React.Component { } } - static getDerivedStateFromProps(props, state) { - const stateActiveIssue = state.activeIssue - const propsActiveIssue = stateActiveIssue && props.report.issues[stateActiveIssue.id] - if(propsActiveIssue && propsActiveIssue.status !== stateActiveIssue.status) { - return { - activeIssue: propsActiveIssue - } - } - return null - } - handleSearchTerm = (e, val) => { this.setState({searchTerm: val, filteredIssues: [], tableSettings: Object.assign({}, this.state.tableSettings, {pageNum: 0})}); }