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 95d3df77c..bcad57eca 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"] + const componentsToIgnore = ["CustomComponent"]; setIsOutdated( currentCode !== thisNodesCode && !componentsToIgnore.includes(data.type), );