Skip to content

Commit

Permalink
moved var declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
georgianaonoleata1904 committed Oct 23, 2024
1 parent 125f023 commit b6c6e94
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@ import { css } from '@emotion/react';

import type { FieldHook } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { getFieldValidityAndErrorMessage } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib';
import { i18n } from '@kbn/i18n';
import type { ActionConnector } from '../../../common/types/domain';
import { ConnectorsDropdown } from '../configure_cases/connectors_dropdown';
import { i18n } from '@kbn/i18n';

const ADD_CONNECTOR_HELPER_TEXT = i18n.translate(
'xpack.cases.connectorSelector.addConnectorHelperText',
{
defaultMessage:
'Go to Stack Management > Cases > Settings to add an external incident management system',
}
);

interface ConnectorSelectorProps {
connectors: ActionConnector[];
Expand Down Expand Up @@ -50,14 +58,6 @@ export const ConnectorSelector = ({
connectors.find((connector) => connector.id === field.value)
);

const ADD_CONNECTOR_HELPER_TEXT = i18n.translate(
'xpack.cases.connectorSelector.addConnectorHelperText',
{
defaultMessage:
'Go to Stack Management > Cases > Settings to add an external incident management system',
}
);

return (
<EuiFormRow
css={css`
Expand Down

0 comments on commit b6c6e94

Please sign in to comment.