Skip to content

Commit 534c421

Browse files
committed
made changes after yarn test
1 parent eb0d084 commit 534c421

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/components/Applications/ApplicationsList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { connect } from 'react-redux'
44
import ApplicationActionCreator from '../../actions/application/'
55

66
class ApplicationsList extends Component {
7-
componentWillReceiveProps (nextProps) {
7+
UnsafeComponentWillReceiveProps (nextProps) {
88
this._markAsSeenApplications(nextProps.applications)
99
}
1010

client/components/Home/Home.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Home extends Component {
3232
this.props.onLoad()
3333
}
3434

35-
componentWillReceiveProps = (nextProps) => {
35+
UnsafeComponentWillReceiveProps = (nextProps) => {
3636
if (this.props.projects !== nextProps.projects) {
3737
this.setState({filteredProjects: nextProps.projects})
3838
}

client/components/Restricted/Restricted.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function (BaseComponent) {
1212
this.checkAuthentication(this.props)
1313
}
1414

15-
componentWillReceiveProps (nextProps) {
15+
UnsafeComponentWillReceiveProps (nextProps) {
1616
if (nextProps.location !== this.props.location) {
1717
this.checkAuthentication(nextProps)
1818
}

0 commit comments

Comments
 (0)