Skip to content

Commit

Permalink
remove componentWillMount methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun-sna committed Sep 23, 2019
1 parent 3d508a1 commit 8a733fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/screens/starred-repository-list.screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class StarredRepositoryList extends Component {
navigation: Object,
};

componentWillMount() {
componentDidMount() {
const { getStarredReposForUser, userId } = this.props;

getStarredReposForUser(userId);
Expand Down

0 comments on commit 8a733fe

Please sign in to comment.