From 4d6c0f3da9f7a70f76bd93c16576e4deb4a334a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 8 Jan 2024 16:24:01 +0100 Subject: [PATCH] :bug: Fix debug validate single shape --- common/src/app/common/files/validate.cljc | 3 --- frontend/src/debug.cljs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/common/src/app/common/files/validate.cljc b/common/src/app/common/files/validate.cljc index 280271701..1c25b82dc 100644 --- a/common/src/app/common/files/validate.cljc +++ b/common/src/app/common/files/validate.cljc @@ -502,6 +502,3 @@ :hint "error on validating file referential integrity" :file-id (:id file) :details errors))) - - - diff --git a/frontend/src/debug.cljs b/frontend/src/debug.cljs index 56b36406a..5090efc5c 100644 --- a/frontend/src/debug.cljs +++ b/frontend/src/debug.cljs @@ -393,7 +393,7 @@ (try (->> (if-let [shape-id (some-> shape-id parse-uuid)] (let [page (dm/get-in file [:data :pages-index (get @st/state :current-page-id)])] - (cfv/validate-shape (uuid shape-id) file page libraries)) + (cfv/validate-shape shape-id file page libraries)) (cfv/validate-file file libraries)) (group-by :code) (clj->js))