Skip to content

Commit e446df5

Browse files
authored
Merge pull request #91 from FrancoisDeBellescize/master
update methode componentWillMount to UNSAFE_componentWillMount
2 parents c2184f1 + 3d5bcce commit e446df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export default class Swipeable extends PureComponent {
166166
rightButtonsOpen: false
167167
};
168168

169-
componentWillMount() {
169+
UNSAFE_componentWillMount() {
170170
const {onPanAnimatedValueRef, onRef} = this.props;
171171

172172
onRef(this);

0 commit comments

Comments
 (0)