Skip to content

Commit

Permalink
test: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xotahal committed Apr 26, 2019
1 parent b3c4f1a commit 468f1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SharedElementRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SharedElementRenderer extends PureComponent {
const animations = [];
let translateYValue = 0;

if (!isNaN(source.position.pageY)) {
if (!Math.isNaN(source.position.pageY)) {
translateYValue = new Animated.Value(source.position.pageY);
}

Expand Down

0 comments on commit 468f1b4

Please sign in to comment.