From c9126fdb625fded561ef0cf40722e8b7f639c730 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 19 Sep 2023 14:51:01 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20refactor(parameterComponent):=20?= =?UTF-8?q?remove=20unused=20properties=20from=20default=20parameter=20val?= =?UTF-8?q?ue=20object=20to=20improve=20code=20readability=20and=20maintai?= =?UTF-8?q?nability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GenericNode/components/parameterComponent/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index 15dd2bb3c..63b3b109f 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -374,14 +374,10 @@ export default function ParameterComponent({ value={ data.node!.template[name].value ?? { arr: ["test", 123456, false, null], - boolean: false, - number: 123456, try: { k1: 123, - k2: "123", - k3: false, }, - string: "string", + yourkey: "value", } } onChange={(newValue) => {