From 00dabaf38c26f78e5d3542d73a565b3dac0be48c Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Wed, 26 Jun 2024 16:08:21 +0200 Subject: [PATCH] Remove comment form --- frontend/src/app/main/ui/workspace/tokens/form.cljs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/form.cljs b/frontend/src/app/main/ui/workspace/tokens/form.cljs index 47c39b263..ab71333ba 100644 --- a/frontend/src/app/main/ui/workspace/tokens/form.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/form.cljs @@ -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."