mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
Remove required validator from shape props schema.
This commit is contained in:
parent
1dc85c00c6
commit
8c47d216b1
1 changed files with 4 additions and 4 deletions
|
@ -14,10 +14,10 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(def ^:static +shape-props-schema+
|
||||
{:x [v/required v/integer]
|
||||
:y [v/required v/integer]
|
||||
:width [v/required v/integer]
|
||||
:height [v/required v/integer]})
|
||||
{:x [v/integer]
|
||||
:y [v/integer]
|
||||
:width [v/integer]
|
||||
:height [v/integer]})
|
||||
|
||||
(def ^:static +shape-schema+
|
||||
{:x [v/integer]
|
||||
|
|
Loading…
Add table
Reference in a new issue