Rm reference to getConnectionEditHref
@@ -13,7 +13,6 @@ import * as React from 'react';
import { Translation } from 'react-i18next';
import { PageTitle } from '../../../../shared';
import { ConnectionsWithToolbar } from '../../../connections/components';
-import resolvers from '../../../connections/resolvers';
import {
ISelectConnectionRouteParams,
ISelectConnectionRouteState,
@@ -102,12 +101,20 @@ export class SelectConnectionPage extends React.Component<
return (
<ConnectionsWithToolbar
loading={
- !hasConnectionsData || !hasExtensionsData
+ !hasConnectionsData ||
+ !hasExtensionsData
+ }
+ error={
+ connectionsError || extensionsError
}
- error={connectionsError || extensionsError}
includeConnectionMenu={false}
getConnectionHref={step =>
- getStepHref(step, params, state, this.props)
+ getStepHref(
+ step,
+ params,
+ state,
+ this.props
+ )
}
connections={visibleSteps}
createConnectionButtonStyle={'default'}
