Skip to content

Commit b834d5c

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

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@apollo/client": "^4.0.9",
1818
"@code0-tech/pictor": "^0.10.7",
19-
"@code0-tech/triangulum": "^0.25.3",
19+
"@code0-tech/triangulum": "^0.25.4",
2020
"@codemirror/lang-javascript": "^6.2.5",
2121
"@codemirror/lint": "^6.9.5",
2222
"@icons-pack/react-simple-icons": "^13.13.0",

src/packages/ce/src/datatype/components/inputs/DataTypeInputComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const DataTypeInputComponent: React.FC<DataTypeInputComponentProps> = (pr
3232
const {schema, ...rest} = props
3333

3434
const suggestions = "schema" in (schema ?? {}) ? (schema as NodeSchema)?.schema?.suggestions as (NodeFunction | ReferenceValue | LiteralValue)[] : []
35-
const inputName = "schema" in (schema ?? {}) ? ((schema as NodeSchema)?.schema?.input === "generic" ? (schema as NodeSchema).functionSchema.input : (schema as NodeSchema)?.schema?.input) : (schema as Schema).input
35+
const inputName = "schema" in (schema ?? {}) ? (schema as NodeSchema)?.schema?.input : (schema as Schema).input
3636

3737
if ("schema" in (schema ?? {}) && ((schema as NodeSchema).blockedBy?.length ?? 0) > 0) {
3838
return null

0 commit comments

Comments
 (0)