Skip to content

Commit dbefed4

Browse files
Update packages/snaps-sdk/src/jsx/validation.ts
Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent 43570a4 commit dbefed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-sdk/src/jsx/validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ const FieldChildStruct = selectiveUnion((value) => {
493493
: tuple(BOX_INPUT_RIGHT);
494494
}
495495

496-
return typedUnion([...FIELD_CHILDREN_ARRAY]);
496+
return typedUnion(FIELD_CHILDREN_ARRAY);
497497
}) as unknown as Struct<
498498
| [InputElement, GenericSnapChildren]
499499
| [GenericSnapChildren, InputElement]

0 commit comments

Comments
 (0)