mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unrelated comment
This is no longer unwrapping a legacy factory (which are gone).
This commit is contained in:
@@ -57,7 +57,6 @@ function createInstanceForTag(tag, props, parentType) {
|
||||
);
|
||||
return new genericComponentClass(tag, props);
|
||||
}
|
||||
// Unwrap legacy factories
|
||||
return new componentClass(props);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user