diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx index 000b6e3865e54..4cb2abe756cf3 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx @@ -171,10 +171,7 @@ export const QueryBarDefineRule = ({ (newQuery: Query) => { const { query } = field.value as FieldValueQueryBar; if (!deepEqual(query, newQuery)) { - field.setValue({ - ...(field.value as FieldValueQueryBar), - query: newQuery, - }); + field.setValue({ ...(field.value as FieldValueQueryBar), query: newQuery }); } }, [field]