From 0f234ef07eb4bc826edba14b99a6b78014cb248e Mon Sep 17 00:00:00 2001 From: FrankHassanabad Date: Wed, 11 Nov 2020 14:04:14 -0700 Subject: [PATCH] Fixed formatting to not show a change --- .../public/detections/components/rules/query_bar/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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]