Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Renames 'componentWillMount' to 'componentDidMount'
Browse files Browse the repository at this point in the history
Renames 'componentWillMount' to 'componentDidMount'

Resolves: #532

Co-authored-by: Edward Chopuryan <[email protected]>
  • Loading branch information
swiftone and edward93 authored Jan 7, 2020
1 parent 8fe896a commit 3b95ed3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/okta-react/src/SecureRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ class RenderWrapper extends Component {
}
}

/* eslint-disable-next-line react/no-deprecated */
componentWillMount() {
componentDidMount() {
this.checkAuthentication();
}

Expand Down

0 comments on commit 3b95ed3

Please sign in to comment.