Skip to content

Commit 9277a09

Browse files
committed
Run build
1 parent a932a66 commit 9277a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/linkClass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ linkClass = function (element, styles, userConfiguration) {
6868
if (typeof element.props.children !== 'string') {
6969
childrenCount = _react2['default'].Children.count(element.props.children);
7070

71-
if (childrenCount > 1) {
71+
if (childrenCount > 1 || Array.isArray(element.props.children)) {
7272
newChildren = _react2['default'].Children.map(element.props.children, function (node) {
7373
if (_react2['default'].isValidElement(node)) {
7474
return linkClass(node, styles, configuration);

0 commit comments

Comments
 (0)