Skip to content

Commit f6996b1

Browse files
committed
Fix extend object
1 parent 7c672aa commit f6996b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function buildReact(cb) {
9393
.replace('// IMPORT_LIBRARY', 'import React from \'react\';')
9494
.replace('// IMPORT_COMPONENTS', `${componentImports.join('\n')}\n`)
9595
.replace('// REGISTER_COMPONENTS', registerComponents)
96-
.replace(/EXTEND/g, 'React')
96+
.replace(/EXTEND/g, 'React.Component')
9797
.replace(/COMPILER/, '\'react\'')
9898
.replace(/REFS_PROP/, '\'refs\'');
9999

0 commit comments

Comments
 (0)