Commit bb428a30 authored by Eric Rosenbaum's avatar Eric Rosenbaum

put arrow fn wrapper for loadManagers into connect

parent 0d670b10
......@@ -56,7 +56,7 @@ const TransferHostSelection = ({
className={classNames('button', {
'mod-mutating': loading
})}
onClick={() => onLoadMore()} // eslint-disable-line react/jsx-no-bind
onClick={onLoadMore}
>
<FormattedMessage id="general.loadMore" />
</button>
......@@ -111,6 +111,6 @@ export default connect(
...managers.selector(state)
}),
{
onLoadMore: loadManagers
onLoadMore: () => loadManagers()
}
)(TransferHostSelection);
......@@ -88,7 +88,7 @@ const StudioManagers = ({
<h3><FormattedMessage id="studio.sectionLoadError.managersHeadline" /></h3>
<button
className="button"
onClick={() => onLoadMore()} // eslint-disable-line react/jsx-no-bind
onClick={onLoadMore}
>
<FormattedMessage id="studio.sectionLoadError.tryAgain" />
</button>
......@@ -108,7 +108,7 @@ const StudioManagers = ({
className={classNames('button', {
'mod-mutating': loading
})}
onClick={() => onLoadMore()} // eslint-disable-line react/jsx-no-bind
onClick={onLoadMore}
>
<FormattedMessage id="general.loadMore" />
</button>
......@@ -151,6 +151,6 @@ export default connect(
...managers.selector(state)
}),
{
onLoadMore: loadManagers
onLoadMore: () => loadManagers()
}
)(StudioManagers);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment