Skip to content

Commit

Permalink
update methode componentWillMount to UNSAFE_componentWillMount
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisDeBellescize committed Dec 20, 2019
1 parent c2184f1 commit 3d5bcce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class Swipeable extends PureComponent {
rightButtonsOpen: false
};

componentWillMount() {
UNSAFE_componentWillMount() {
const {onPanAnimatedValueRef, onRef} = this.props;

onRef(this);
Expand Down

0 comments on commit 3d5bcce

Please sign in to comment.