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:
parent
5afc10f721
commit
c1fc501e62
1 changed files with 0 additions and 7 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue