File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { connect } from 'react-redux'
4
4
import ApplicationActionCreator from '../../actions/application/'
5
5
6
6
class ApplicationsList extends Component {
7
- componentWillReceiveProps ( nextProps ) {
7
+ UnsafeComponentWillReceiveProps ( nextProps ) {
8
8
this . _markAsSeenApplications ( nextProps . applications )
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Home extends Component {
32
32
this . props . onLoad ( )
33
33
}
34
34
35
- componentWillReceiveProps = ( nextProps ) => {
35
+ UnsafeComponentWillReceiveProps = ( nextProps ) => {
36
36
if ( this . props . projects !== nextProps . projects ) {
37
37
this . setState ( { filteredProjects : nextProps . projects } )
38
38
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function (BaseComponent) {
12
12
this . checkAuthentication ( this . props )
13
13
}
14
14
15
- componentWillReceiveProps ( nextProps ) {
15
+ UnsafeComponentWillReceiveProps ( nextProps ) {
16
16
if ( nextProps . location !== this . props . location ) {
17
17
this . checkAuthentication ( nextProps )
18
18
}
You can’t perform that action at this time.
0 commit comments