From cf066434cba8f7ecc32e326677168f4b05077152 Mon Sep 17 00:00:00 2001 From: Nikita Zolotykh <58661343+bocembocem@users.noreply.github.com> Date: Fri, 6 Oct 2023 11:11:47 +0300 Subject: [PATCH] ci: fix propperties spec template for sb (#124) --- src/stories/components/InputPreview/constants.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stories/components/InputPreview/constants.ts b/src/stories/components/InputPreview/constants.ts index c37c35ba..c90f70b8 100644 --- a/src/stories/components/InputPreview/constants.ts +++ b/src/stories/components/InputPreview/constants.ts @@ -5,6 +5,7 @@ import { BooleanSpec, NumberSpec, ObjectSpec, + ObjectValue, Spec, SpecTypes, StringSpec, @@ -52,6 +53,7 @@ const properties: ArraySpec = { type: SpecTypes.Array, required: true, items: { + defaultValue: '{}' as unknown as ObjectValue, type: SpecTypes.Object, properties: { key: {