From 1633f8035e496040b28708dea3089b2ba1e23823 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Mon, 29 Jul 2024 13:51:17 +0200 Subject: [PATCH] Indent --- .../src/app/main/ui/workspace/tokens/context_menu.cljs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs index b3768960f..f4b239781 100644 --- a/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/context_menu.cljs @@ -310,12 +310,10 @@ selected-shapes (into [] (keep (d/getf objects)) selected) token-id (:token-id mdata) token (get (mf/deref refs/workspace-tokens) token-id)] - - (mf/use-effect - (fn [] - (when-let [node (mf/ref-val dropdown-ref)] - (reset! width (.-offsetWidth node))))) - + (mf/use-effect + (fn [] + (when-let [node (mf/ref-val dropdown-ref)] + (reset! width (.-offsetWidth node))))) [:& dropdown {:show (boolean mdata) :on-close #(st/emit! dt/hide-token-context-menu)} [:div {:class (stl/css :token-context-menu)