refactor: remove Prompt from ignored components list
This commit is contained in:
parent
8f051d0c21
commit
f4517b250e
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ const useCheckCodeValidity = (
|
||||||
if (!thisNodeTemplate.code) return;
|
if (!thisNodeTemplate.code) return;
|
||||||
const currentCode = thisNodeTemplate.code?.value;
|
const currentCode = thisNodeTemplate.code?.value;
|
||||||
const thisNodesCode = data.node!.template?.code?.value;
|
const thisNodesCode = data.node!.template?.code?.value;
|
||||||
const componentsToIgnore = ["CustomComponent", "Prompt"];
|
const componentsToIgnore = ["CustomComponent"]
|
||||||
setIsOutdated(
|
setIsOutdated(
|
||||||
currentCode !== thisNodesCode && !componentsToIgnore.includes(data.type),
|
currentCode !== thisNodesCode && !componentsToIgnore.includes(data.type),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue