0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Remove comment form

This commit is contained in:
Florian Schroedl 2024-06-26 16:08:21 +02:00
parent f24c314d63
commit 00dabaf38c

View file

@ -38,14 +38,6 @@
:type-properties {:error/fn #(str (:value %) " is not a valid token name.
Token names should only contain letters and digits separated by . characters.")}}))
(comment
(m/validate valid-token-name-schema "Hey [1]")
(m/valid? valid-token-name-schema "Hey")
(m/validate valid-token-name-schema "Hey.foo.")
(m/validate valid-token-name-schema "🤣")
(m/validate valid-token-name-schema ".")
nil)
(defn token-name-schema
"Generate a dynamic schema validation to check if a token name already exists.
`existing-token-names` should be a set of strings."