mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
editor messed up spacing
This commit is contained in:
@@ -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