[Security Solution][Endpoint] Fix input area showing error state when invalid input is replaced with a valid command using the Help panel (#137296)

This commit is contained in:
Paul Tavares 2022-07-27 16:50:22 -04:00 committed by GitHub
parent e3f62dcc03
commit 52d52b106f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,8 @@ export const useInputHints = () => {
type: 'updateFooterContent',
payload: { value: hint },
});
dispatch({ type: 'setInputState', payload: { value: undefined } });
} else {
dispatch({
type: 'updateFooterContent',