Skip to content

Commit df334ca

Browse files
committed
Silence a lint warning about unnamed functions
1 parent 8439cf7 commit df334ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connectMenu.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import listener from './globalEventListener';
77
const ignoredTriggerProps = [...Object.keys(ContextMenuTrigger.propTypes), 'children'];
88

99
// expect the id of the menu to be responsible for as outer parameter
10-
export default function (menuId) {
10+
export default function connectMenu(menuId) {
1111
// expect menu component to connect as inner parameter
1212
// <Child/> is presumably a wrapper of <ContextMenu/>
1313
return function connect(Child) {

0 commit comments

Comments
 (0)