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.
This commit is contained in:
anovazzi1 2023-08-02 22:44:41 -03:00
commit c1fc501e62

View file

@ -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}