Skip to content

Commit a181a61

Browse files
committed
feat: updated triangulum version
1 parent b834d5c commit a181a61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/packages/ce/src/datatype/components/inputs/json/DataTypeJSONInputComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ export const DataTypeJSONInputComponent: React.FC<DataTypeJSONInputComponentProp
3232
}, 200)
3333

3434
const value = React.useMemo(
35-
() => initialValue ?? (("functionSchema" in schema ? schema.functionSchema.input === "list" : schema.input === "list") ? {
35+
() => initialValue ?? (("schema" in schema ? schema.schema.input === "list" : schema.input === "list") ? {
3636
__typename: "LiteralValue",
3737
value: []
38-
} as LiteralValue : generateDefaultDataValue("functionSchema" in schema ? schema.functionSchema as DataInput : schema as DataInput)),
38+
} as LiteralValue : generateDefaultDataValue("schema" in schema ? schema.schema as DataInput : schema as DataInput)),
3939
[initialValue, schema]
4040
)
4141

0 commit comments

Comments
 (0)