Skip to content

Commit 8430b63

Browse files
authored
Update linkClass.js
1 parent d07283e commit 8430b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linkClass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const linkElement = (element: ReactElement, styles: Object, configuration: Objec
4343
}
4444
}
4545

46-
elementShallowCopy = React.cloneElement(elementShallowCopy, { children, className, styleName: undefined });
46+
elementShallowCopy = React.cloneElement(elementShallowCopy, { children, className, styleName: null });
4747

4848
return elementShallowCopy;
4949
};

0 commit comments

Comments
 (0)