Fixes typo
Reviewed By: bestander Differential Revision: D4103918 fbshipit-source-id: 1176f97cf489180490e497be7deca331ed26e730
This commit is contained in:
parent
7063ff466a
commit
9833e1bd34
|
@ -16,7 +16,7 @@ module.exports = moduleName => {
|
|||
const name = RealComponent.displayName || RealComponent.name;
|
||||
|
||||
return React.createElement(
|
||||
name.replace(/^(RTC|RK)/,''),
|
||||
name.replace(/^(RCT|RK)/,''),
|
||||
this.props,
|
||||
this.props.children,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue