Merge pull request #83 from logspace-ai/codeHandle

removed handle from code component
This commit is contained in:
anovazzi1 2023-03-29 19:30:09 -03:00 committed by GitHub
commit 6c4388f436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ export default function ParameterComponent({
{title}
<span className="text-red-600">{required ? " *" : ""}</span>
</div>
{left && (type === "str" || type === "bool" || type === "float") ? (
{left && (type === "str" || type === "bool" || type === "float"||type=="code") ? (
<></>
) : (
<Tooltip title={tooltipTitle + (required ? " (required)" : "")}>