Fixed format pre-check error
This commit is contained in:
parent
9b9a84f81f
commit
888ded02f9
2 changed files with 17 additions and 10 deletions
|
|
@ -120,17 +120,18 @@ export default function ParameterComponent({
|
|||
return (
|
||||
<>
|
||||
{index === 0 && (
|
||||
<span>
|
||||
{left ? "Avaliable input components:" : "Avaliable output components:"}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
<span>
|
||||
{left
|
||||
? "Avaliable input components:"
|
||||
: "Avaliable output components:"}
|
||||
</span>
|
||||
)}
|
||||
<span
|
||||
key={index}
|
||||
className={classNames(
|
||||
index > 0 ? "mt-2 flex items-center" : "mt-3 flex items-center"
|
||||
)}
|
||||
>
|
||||
>
|
||||
<div
|
||||
className="h-5 w-5"
|
||||
style={{
|
||||
|
|
@ -146,8 +147,7 @@ export default function ParameterComponent({
|
|||
/>
|
||||
</div>
|
||||
<span className="ps-2 text-xs text-foreground">
|
||||
{nodeNames[item.family] ?? "Other"}
|
||||
{" "}
|
||||
{nodeNames[item.family] ?? "Other"}{" "}
|
||||
<span className="text-xs">
|
||||
{" "}
|
||||
{item.type === "" ? "" : " - "}
|
||||
|
|
|
|||
|
|
@ -158,9 +158,16 @@ export default function GenericNode({
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className={"generic-node-desc " + (data.node?.description !== "" ? "py-5" : "pb-5")}>
|
||||
<div
|
||||
className={
|
||||
"generic-node-desc " +
|
||||
(data.node?.description !== "" ? "py-5" : "pb-5")
|
||||
}
|
||||
>
|
||||
{data.node?.description !== "" && (
|
||||
<div className="generic-node-desc-text">{data.node?.description}</div>
|
||||
<div className="generic-node-desc-text">
|
||||
{data.node?.description}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue