[fix] NODE_ENV check in 'flattenStyle'

This commit is contained in:
Nicolas Gallagher
2017-02-17 09:59:56 -08:00
parent 701ecb7c52
commit 6166024d15
+1 -1
View File
@@ -24,7 +24,7 @@ function flattenStyle(style) {
return undefined;
}
if (process.env.NODE !== 'production') {
if (process.env.NODE_ENV !== 'production') {
invariant(style !== true, 'style may be false but not true');
}