chore: code generator button should only display in code node (#9842)

This commit is contained in:
非法操作 authored and GitHub committed 2024-10-25 15:00:12 +08:00
1 parent 1b5adf40da
commit 84a9d2d072
3 files changed
+11 -3

No files matched your search

@@ -92,6 +92,7 @@ const Panel: FC<NodePanelProps<CodeNodeType>> = ({
language={inputs.code_language}
value={inputs.code}
onChange={handleCodeChange}
showCodeGenerator={true}
/>
</div>
<Split />