From c1fc501e628ea422e2f44aca00344a25fe7bf916 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 2 Aug 2023 22:44:41 -0300 Subject: [PATCH] refactor(NodeModal): remove unnecessary id attribute from input element The id attribute was not being used and was unnecessary, so it was removed to simplify the code. --- src/frontend/src/modals/NodeModal/index.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/frontend/src/modals/NodeModal/index.tsx b/src/frontend/src/modals/NodeModal/index.tsx index 565a57541..34abf6cb9 100644 --- a/src/frontend/src/modals/NodeModal/index.tsx +++ b/src/frontend/src/modals/NodeModal/index.tsx @@ -113,13 +113,6 @@ export default function NodeModal({ data }: { data: NodeDataType }) { : toTitleCase(t) } required={data.node.template[t].required} - id={ - data.node.template[t].type + - "|" + - t + - "|" + - data.id - } name={t} type={data.node.template[t].type} index={idx}