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 af9e0d14e..95d3df77c 100644 --- a/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx +++ b/src/frontend/src/CustomNodes/hooks/use-check-code-validity.tsx @@ -24,7 +24,7 @@ const useCheckCodeValidity = ( if (!thisNodeTemplate.code) return; const currentCode = thisNodeTemplate.code?.value; const thisNodesCode = data.node!.template?.code?.value; - const componentsToIgnore = ["CustomComponent", "Prompt"]; + const componentsToIgnore = ["CustomComponent"] setIsOutdated( currentCode !== thisNodesCode && !componentsToIgnore.includes(data.type), );