Fix: Add dict on verification to avoid unknown edge

This commit is contained in:
igorrCarvalho 2023-10-09 18:08:33 -03:00
commit 3fd7a3e4cd

View file

@ -189,7 +189,7 @@ export default function ParameterComponent({
} else { } else {
//@ts-ignore //@ts-ignore
refHtml.current = <span>{TOOLTIP_EMPTY}</span>; refHtml.current = <span>{TOOLTIP_EMPTY}</span>;
} }
} }
useEffect(() => { useEffect(() => {
@ -204,7 +204,9 @@ export default function ParameterComponent({
type === "code" || type === "code" ||
type === "prompt" || type === "prompt" ||
type === "file" || type === "file" ||
type === "int") && type === "int" ||
type === "dict" ||
type === "NestedDict") &&
!optionalHandle ? ( !optionalHandle ? (
<></> <></>
) : ( ) : (