Skip to content

Commit 91ea661

Browse files
committed
fix eslint warning
1 parent c28fd52 commit 91ea661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/higher_order_components/higher_order_component.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import delegatesPublicFunctions from './delegates_public_functions.js'
77
* for accessing the child component and the options argument to the higher
88
* order function.
99
*/
10-
const HigherOrderComponent = () => hocClass => opts => ComponentClass =>
10+
const hoc = () => hocClass => opts => ComponentClass =>
1111
@delegatesPublicFunctions(opts)
1212
class HigherOrderComponent extends hocClass {
1313
static originalClass = (
@@ -23,4 +23,4 @@ const HigherOrderComponent = () => hocClass => opts => ComponentClass =>
2323
}
2424
}
2525

26-
export default HigherOrderComponent
26+
export default hoc

0 commit comments

Comments
 (0)