diff --git a/src/components/inspector.tsx b/src/components/inspector.tsx
index 28b64a8..381489a 100644
--- a/src/components/inspector.tsx
+++ b/src/components/inspector.tsx
@@ -242,7 +242,7 @@ export const Inspector: FC = () => {
/>
{def.doc}
- {def.input?.length && (
+ {def.input && def.input.length > 0 && (
<>
{t("node.inputVariable")}
@@ -272,7 +272,7 @@ export const Inspector: FC = () => {
})}
>
)}
- {def.args?.length && (
+ {def.args && def.args.length > 0 && (
<>
{t("node.args")}
@@ -319,7 +319,7 @@ export const Inspector: FC = () => {
})}
>
)}
- {def.output?.length && (
+ {def.output && def.output.length > 0 && (
<>
{t("node.outputVariable")}