File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const OBSERVED_RENDER = Symbol('observed render')
6
6
const IS_DIRECT_RENDER = Symbol ( 'is direct render' )
7
7
const RENDER_RESULT = Symbol ( 'render result' )
8
8
9
- export default function easyStateHOC ( WrappedComp ) {
9
+ export default function easyCompHOC ( WrappedComp ) {
10
10
if ( typeof WrappedComp !== 'function' ) {
11
11
throw new TypeError ( 'easyComp expects a component class or function as argument.' )
12
12
}
@@ -24,7 +24,7 @@ export default function easyStateHOC (WrappedComp) {
24
24
WrappedComp . defaultProps = renderer . defaultProps
25
25
}
26
26
27
- return class EasyStateWrapper extends WrappedComp {
27
+ return class EasyCompWrapper extends WrappedComp {
28
28
constructor ( props ) {
29
29
super ( props )
30
30
autoBind ( this , WrappedComp . prototype , true )
You can’t perform that action at this time.
0 commit comments