We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f143d3 + 4d6a71e commit e07b4c9Copy full SHA for e07b4c9
1 file changed
src/linkClass.js
@@ -13,7 +13,9 @@ const linkArray = (array: Array, styles: Object, configuration: Object) => {
13
// eslint-disable-next-line no-use-before-define
14
array[index] = linkElement(React.Children.only(value), styles, configuration);
15
} else if (_.isArray(value)) {
16
- array[index] = linkArray(value, styles, configuration);
+ const unfreezedValue = Object.isFrozen(value) ? objectUnfreeze(value) : value;
17
+
18
+ array[index] = linkArray(unfreezedValue, styles, configuration);
19
}
20
});
21
0 commit comments