diff --git a/Libraries/ART/ReactNativeART.js b/Libraries/ART/ReactNativeART.js index cf56028b1..5a08e748c 100644 --- a/Libraries/ART/ReactNativeART.js +++ b/Libraries/ART/ReactNativeART.js @@ -11,7 +11,6 @@ const Color = require('art/core/color'); const Path = require('ARTSerializablePath'); -const Platform = require('Platform'); const Transform = require('art/core/transform'); const React = require('React'); @@ -154,11 +153,8 @@ class Surface extends React.Component { const height = extractNumber(this.props.height, 0); const width = extractNumber(this.props.width, 0); - // WORKAROUND: Android bug in which canvas does not reflect size changes. - const key = Platform.OS === 'android' ? height + ',' + width : null; - return ( - + {this.props.children} );