Skip to content

Commit e07b4c9

Browse files
committed
Merge branch 'master' of github.com:gajus/react-css-modules
2 parents 4f143d3 + 4d6a71e commit e07b4c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/linkClass.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const linkArray = (array: Array, styles: Object, configuration: Object) => {
1313
// eslint-disable-next-line no-use-before-define
1414
array[index] = linkElement(React.Children.only(value), styles, configuration);
1515
} else if (_.isArray(value)) {
16-
array[index] = linkArray(value, styles, configuration);
16+
const unfreezedValue = Object.isFrozen(value) ? objectUnfreeze(value) : value;
17+
18+
array[index] = linkArray(unfreezedValue, styles, configuration);
1719
}
1820
});
1921

0 commit comments

Comments
 (0)