mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
editor messed up spacing
This commit is contained in:
1 parent
48c7b533a1
commit
34816fc046
1 file changed
+2
-2
@@ -293,8 +293,8 @@ export function cloneAndReplaceKey(oldElement, newKey) {
|
||||
*/
|
||||
export function cloneElement(element, config, children) {
|
||||
invariant(
|
||||
!(element === null || element === undefined),
|
||||
'Cannot clone a null or undefined element.'
|
||||
!(element === null || element === undefined),
|
||||
'Cannot clone a null or undefined element.'
|
||||
);
|
||||
|
||||
let propName;
|
||||
|
||||
Reference in new issue
Block a user