mirror of
https://github.com/status-im/react-native.git
synced 2025-02-10 16:36:25 +00:00
Don't freeze null
Reviewed By: acdlite Differential Revision: D7567032 fbshipit-source-id: ea9c826d572371748c6e9b5defbb92b427d83bee
This commit is contained in:
parent
a8e3c7f578
commit
b4c71361d9
@ -366,7 +366,9 @@ module.exports = {
|
|||||||
if (__DEV__) {
|
if (__DEV__) {
|
||||||
for (const key in obj) {
|
for (const key in obj) {
|
||||||
StyleSheetValidation.validateStyle(key, obj);
|
StyleSheetValidation.validateStyle(key, obj);
|
||||||
Object.freeze(obj[key]);
|
if (obj[key]) {
|
||||||
|
Object.freeze(obj[key]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user