Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Jul 10, 2020
1 parent cf8fae3 commit 38a90eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const CreateAgentConfigFlyout: React.FunctionComponent<Props> = ({ onClos
<EuiFlyoutFooter>
<EuiFlexGroup justifyContent="spaceBetween">
<EuiFlexItem grow={false}>
<EuiButtonEmpty iconType="cross" onClick={onClose} flush="left">
<EuiButtonEmpty iconType="cross" onClick={() => onClose()} flush="left">
<FormattedMessage
id="xpack.ingestManager.createAgentConfig.cancelButtonLabel"
defaultMessage="Cancel"
Expand Down

0 comments on commit 38a90eb

Please sign in to comment.