Skip to content

Commit

Permalink
fix: Make new mutable array in baseNodeDataSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Oct 8, 2024
1 parent b112dcc commit 11f4322
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const moreInformationSchema: SchemaOf<MoreInformation> = object({
});

const baseNodeDataSchema: SchemaOf<BaseNodeData> = object({
tags: array(mixed().oneOf(NODE_TAGS)),
tags: array(mixed().oneOf([...NODE_TAGS])),
}).concat(moreInformationSchema);

const valFnSchema = mixed().when("condition", {
Expand Down

0 comments on commit 11f4322

Please sign in to comment.