Skip to content

Commit 02f34f9

Browse files
author
Juli Ovechkina
authored
fix(FilterBlock): schema validation (#508)
1 parent 6b4839a commit 02f34f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/blocks/FilterBlock/schema.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const FilterItemProps = {
3535

3636
export const FilterProps = {
3737
additionalProperties: false,
38-
required: ['filterTags', 'block'],
38+
required: ['tags', 'items'],
3939
properties: {
4040
...BlockBaseProps,
4141
...AnimatableProps,
@@ -59,6 +59,7 @@ export const FilterProps = {
5959
type: 'string',
6060
enum: ['s', 'm', 'l', 'xl'],
6161
},
62+
centered: {type: 'boolean'},
6263
},
6364
};
6465

0 commit comments

Comments
 (0)