0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

🐛 Fix internal error when creating a guide

This commit is contained in:
Alejandro Alonso 2024-12-05 09:30:10 +01:00
parent 4d3192546c
commit 630f42f7ac

View file

@ -33,7 +33,7 @@
[:id ::sm/uuid] [:id ::sm/uuid]
[:axis [::sm/one-of #{:x :y}]] [:axis [::sm/one-of #{:x :y}]]
[:position ::sm/safe-number] [:position ::sm/safe-number]
[:frame-id {:optional true} ::sm/uuid]]) [:frame-id {:optional true} [:maybe ::sm/uuid]]])
(def schema:guides (def schema:guides
[:map-of {:gen/max 2} ::sm/uuid schema:guide]) [:map-of {:gen/max 2} ::sm/uuid schema:guide])