From 80a5eb2fd4b8aef4dead3f59f904fd385442b6d7 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:06:07 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' --- x-pack/plugins/cases/public/components/custom_fields/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.tsx b/x-pack/plugins/cases/public/components/custom_fields/index.tsx index 76d188076ea31..e0ca14eab2a09 100644 --- a/x-pack/plugins/cases/public/components/custom_fields/index.tsx +++ b/x-pack/plugins/cases/public/components/custom_fields/index.tsx @@ -51,7 +51,7 @@ const CustomFieldsComponent: React.FC = ({ setError(false); }, [handleAddCustomField, setError, customFields, error]); - if(customFields.length < MAX_CUSTOM_FIELDS_PER_CASE && error) { + if (customFields.length < MAX_CUSTOM_FIELDS_PER_CASE && error) { setError(false); }