0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

🐛 Make a path command params property nilable on spec.

This commit is contained in:
Andrey Antukh 2022-01-26 12:41:54 +01:00
parent a2e80cee47
commit 16788d7ab7

View file

@ -353,7 +353,7 @@
(s/keys :req-un [:internal.shape.text/text])))
(s/def :internal.shape.path/command keyword?)
(s/def :internal.shape.path/params (s/map-of keyword? any?))
(s/def :internal.shape.path/params (s/nilable (s/map-of keyword? any?)))
(s/def :internal.shape.path/command-item
(s/keys :req-un [:internal.shape.path/command
:internal.shape.path/params]))