mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 16:12:19 +08:00
🐛 fix(GenericNode/index.tsx): fix rendering of validationStatus.params when it is a string
This commit is contained in:
@ -132,7 +132,7 @@ export default function GenericNode({
|
||||
</span>
|
||||
) : (
|
||||
<div className="max-h-96 overflow-auto">
|
||||
{validationStatus.params
|
||||
{typeof validationStatus.params === "string"
|
||||
? validationStatus.params
|
||||
.split("\n")
|
||||
.map((line, index) => <div key={index}>{line}</div>)
|
||||
|
||||
Reference in New Issue
Block a user