[ReactNative] Revert D2134877

This commit is contained in:
Christopher Chedeau 2015-06-08 14:49:28 -07:00
parent c9e555f4b3
commit 1a12b95f7a
1 changed files with 0 additions and 6 deletions

View File

@ -43,12 +43,6 @@ function flattenStyle(style: ?StyleObj): ?Object {
if (__DEV__) { if (__DEV__) {
var value = computedStyle[key]; var value = computedStyle[key];
invariant(
!value || typeof value !== 'object' || !value.getValue,
'You passed an Animated.Value to a normal component. ' +
'You need to wrap that component in an Animated. For example, ' +
'replace <View /> by <Animated.View />.'
);
} }
} }
} }