chore: Add early return for CustomComponent in useCheckCodeValidity hook
This commit is contained in:
parent
c9e591a492
commit
2055be160a
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ const useCheckCodeValidity = (
|
||||||
!data.node?.template?.code?.value
|
!data.node?.template?.code?.value
|
||||||
)
|
)
|
||||||
return;
|
return;
|
||||||
|
if (data.type === "CustomComponent") return;
|
||||||
const thisNodeTemplate = templates[data.type].template;
|
const thisNodeTemplate = templates[data.type].template;
|
||||||
// if the template does not have a code key
|
// if the template does not have a code key
|
||||||
// return
|
// return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue