From 8d5c95dd649cbafc2f2dba653a11d9817d32adaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 25 Sep 2023 09:54:10 +0200 Subject: [PATCH] :bug: Micro fix in validate functions --- common/src/app/common/files/validate.cljc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/app/common/files/validate.cljc b/common/src/app/common/files/validate.cljc index d55a93ed1..fd5f7db27 100644 --- a/common/src/app/common/files/validate.cljc +++ b/common/src/app/common/files/validate.cljc @@ -332,8 +332,8 @@ (validate-shape-main-root-top shape file page libraries)) (if (not= context :not-component) - (report-error :root-main-not-allowed - (str/format "Root main component not allowed inside other component") + (report-error :root-copy-not-allowed + (str/format "Root copy component not allowed inside other component") shape file page) (validate-shape-copy-root-top shape file page libraries))) @@ -345,8 +345,8 @@ (validate-shape-main-root-nested shape file page libraries)) (if (= context :not-component) - (report-error :nested-main-not-allowed - (str/format "Nested main component only allowed inside other component") + (report-error :nested-copy-not-allowed + (str/format "Nested copy component only allowed inside other component") shape file page) (validate-shape-copy-root-nested shape file page libraries))))