From a157c58d846f39cc8145f1dcde47f13344bcf85d Mon Sep 17 00:00:00 2001 From: Lina <20880695+necropolina@users.noreply.github.com> Date: Thu, 27 Apr 2023 17:45:52 -0400 Subject: [PATCH] remove unneeded parentheses --- src/main/frontend/components/page_menu.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/frontend/components/page_menu.cljs b/src/main/frontend/components/page_menu.cljs index 083d5d245..b4ab90df6 100644 --- a/src/main/frontend/components/page_menu.cljs +++ b/src/main/frontend/components/page_menu.cljs @@ -78,8 +78,8 @@ file-sync-graph-uuid (and (user-handler/logged-in?) (file-sync-handler/enable-sync?) (file-sync-handler/get-current-graph-uuid))] - (when (and page (not (or (block?) - (config/publishing?)))) + (when (and page (not (or block? + config/publishing?))) (->> [{:title (if favorited? (t :page/unfavorite) @@ -110,8 +110,8 @@ {:title (t :page/copy-page-url) :options {:on-click #(page-handler/copy-page-url page-original-name)}}) - (when-not (or (contents?) - (config/publishing?)) + (when-not (or contents? + config/publishing?) {:title (t :page/delete) :options {:on-click #(state/set-modal! (delete-page-dialog page-name))}})