diff --git a/Libraries/StyleSheet/StyleSheet.js b/Libraries/StyleSheet/StyleSheet.js index ff9a88a088aa3d..5aab99d157626a 100644 --- a/Libraries/StyleSheet/StyleSheet.js +++ b/Libraries/StyleSheet/StyleSheet.js @@ -366,7 +366,9 @@ module.exports = { if (__DEV__) { for (const key in obj) { StyleSheetValidation.validateStyle(key, obj); - Object.freeze(obj[key]); + if (obj[key]) { + Object.freeze(obj[key]); + } } } return obj;