Skip to content

Commit

Permalink
fix(FilterBlock): schema validation (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juli Ovechkina authored Aug 17, 2023
1 parent 4206454 commit 231f640
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blocks/FilterBlock/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const FilterItemProps = {

export const FilterProps = {
additionalProperties: false,
required: ['filterTags', 'block'],
required: ['tags', 'items'],
properties: {
...BlockBaseProps,
...AnimatableProps,
Expand All @@ -59,6 +59,7 @@ export const FilterProps = {
type: 'string',
enum: ['s', 'm', 'l', 'xl'],
},
centered: {type: 'boolean'},
},
};

Expand Down

0 comments on commit 231f640

Please sign in to comment.