diff --git a/common/src/app/common/pages/spec.cljc b/common/src/app/common/pages/spec.cljc index 9bd6957567..90c7d024a7 100644 --- a/common/src/app/common/pages/spec.cljc +++ b/common/src/app/common/pages/spec.cljc @@ -345,12 +345,13 @@ (s/def :internal.shape.text/key string?) (s/def :internal.shape.text/content - (s/or :container - (s/keys :req-un [:internal.shape.text/type - :internal.shape.text/children] - :opt-un [:internal.shape.text/key]) - :content - (s/keys :req-un [:internal.shape.text/text]))) + (s/nilable + (s/or :container + (s/keys :req-un [:internal.shape.text/type + :internal.shape.text/children] + :opt-un [:internal.shape.text/key]) + :content + (s/keys :req-un [:internal.shape.text/text])))) (s/def :internal.shape.path/command keyword?) (s/def :internal.shape.path/params (s/nilable (s/map-of keyword? any?)))