fix undefined error
This commit is contained in:
parent
729f12d02e
commit
1743191379
1 changed files with 2 additions and 1 deletions
|
|
@ -85,8 +85,9 @@ export default function ParameterComponent({
|
|||
const displayOutputPreview = !!flowPool[data.id];
|
||||
|
||||
const unknownOutput = !!(
|
||||
flowPool[data.id] &&
|
||||
flowPool[data.id][flowPool[data.id].length - 1]?.data?.logs[0]?.type ===
|
||||
"unknown"
|
||||
"unknown"
|
||||
);
|
||||
|
||||
const { handleOnNewValue: handleOnNewValueHook } = useHandleOnNewValue(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue