diff --git a/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx b/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx index 4cbfbd8df..833ece0f5 100644 --- a/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx +++ b/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx @@ -17,6 +17,7 @@ const useCheckCodeValidity = ( !data.node?.template?.code?.value ) return; + if (data.type === "CustomComponent") return; const thisNodeTemplate = templates[data.type].template; // if the template does not have a code key // return