From a2e5ecf363dd000ece62a6cf87feb52eb046869a Mon Sep 17 00:00:00 2001 From: Steven Scaffidi Date: Thu, 15 Sep 2016 10:09:16 -0700 Subject: [PATCH] Update index.js --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2652797..e5e6ba2 100644 --- a/src/index.js +++ b/src/index.js @@ -55,7 +55,7 @@ module.exports = { AnimatedSurface: makeSurface({ View: Animated.View, GLCanvas: Animated.createAnimatedComponent(GLCanvas), - getGLCanvas: glSurface => glSurface.refs.canvas.refs._component, + getGLCanvas: glSurface => glSurface.refs.canvas._component, dimensionInvariant: (value, field) => invariant( isAnimated(value) || typeof value === "number" && value > 0, -- 2.26.2