refactor: Update index type in ParameterComponentType
This commit is contained in:
parent
63497586d8
commit
bff50ad3c5
2 changed files with 3 additions and 3 deletions
|
|
@ -468,7 +468,7 @@ export default function GenericNode({
|
|||
!data.node!.template[templateField]?.advanced && (
|
||||
<ParameterComponent
|
||||
selected={selected}
|
||||
index={idx.toString()}
|
||||
index={idx}
|
||||
key={scapedJSONStringfy({
|
||||
inputTypes:
|
||||
data.node!.template[templateField].input_types,
|
||||
|
|
@ -729,7 +729,7 @@ export default function GenericNode({
|
|||
!data.node!.template[templateField]?.advanced ? (
|
||||
<ParameterComponent
|
||||
selected={selected}
|
||||
index={idx.toString()}
|
||||
index={idx}
|
||||
key={scapedJSONStringfy({
|
||||
inputTypes:
|
||||
data.node!.template[templateField].input_types,
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ export type ParameterComponentType = {
|
|||
info?: string;
|
||||
proxy?: { field: string; id: string };
|
||||
showNode?: boolean;
|
||||
index?: string;
|
||||
index: number;
|
||||
onCloseModal?: (close: boolean) => void;
|
||||
outputName?: string;
|
||||
outputProxy?: OutputFieldProxyType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue