From 7e2e4f1faa7527a5f1296b20fbbf09c598555fdb Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Mon, 25 Nov 2024 14:03:01 +0200 Subject: [PATCH] [GEN-1777]: change text in actions modal (#1850) --- .../custom-fields/add-cluster-info.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/frontend/webapp/containers/main/actions/action-form-body/custom-fields/add-cluster-info.tsx b/frontend/webapp/containers/main/actions/action-form-body/custom-fields/add-cluster-info.tsx index f33c3778f..43206bc02 100644 --- a/frontend/webapp/containers/main/actions/action-form-body/custom-fields/add-cluster-info.tsx +++ b/frontend/webapp/containers/main/actions/action-form-body/custom-fields/add-cluster-info.tsx @@ -17,15 +17,10 @@ const AddClusterInfo: React.FC = ({ value, setValue }) => { key: obj.attributeName, value: obj.attributeStringValue, })), - [value] + [value], ); - const handleChange = ( - arr: { - key: string; - value: string; - }[] - ) => { + const handleChange = (arr: { key: string; value: string }[]) => { const payload: Parsed = { clusterAttributes: arr.map((obj) => ({ attributeName: obj.key, @@ -38,7 +33,7 @@ const AddClusterInfo: React.FC = ({ value, setValue }) => { setValue(str); }; - return ; + return ; }; export default AddClusterInfo;