Skip to content

Commit

Permalink
fix: change string to object in pushToWrapper (#448)
Browse files Browse the repository at this point in the history
Co-authored-by: Jordy Quak <[email protected]>
  • Loading branch information
jrquak and Jordy Quak authored Jun 26, 2023
1 parent 367b450 commit 6c2ee57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validations/prefab/componentOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ const optionConfigurationSchemaBase = {
showOnDrop: Joi.boolean(),
showTextStyleColor: Joi.boolean(),
pushToWrapper: Joi.object({
name: Joi.string(),
condition: optionConditionSchema,
name: Joi.string().required(),
condition: optionConditionSchema.optional(),
}),
};

Expand Down

0 comments on commit 6c2ee57

Please sign in to comment.