mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 14:21:44 +00:00
[fix] NODE_ENV check in 'flattenStyle'
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user