From fc416ee4af8b20b8904bd18ca55b664e6f035869 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 31 Jul 2023 12:05:33 +0200 Subject: [PATCH] :bug: Make grid params type optional --- common/src/app/common/types/grid.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/types/grid.cljc b/common/src/app/common/types/grid.cljc index 4901c29348..29e90af4c7 100644 --- a/common/src/app/common/types/grid.cljc +++ b/common/src/app/common/types/grid.cljc @@ -21,7 +21,7 @@ (sm/def! ::column-params [:map [:color ::grid-color] - [:type [::sm/one-of #{:stretch :left :center :right}]] + [:type {:optional true} [::sm/one-of #{:stretch :left :center :right}]] [:size {:optional true} [:maybe ::sm/safe-number]] [:margin {:optional true} [:maybe ::sm/safe-number]] [:item-length {:optional true} [:maybe ::sm/safe-number]]