From 7bb5fef8cc0519abcd60afd6f0096befc78b1da6 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Tue, 20 May 2025 09:13:24 -0400 Subject: [PATCH] fix: frontend lint --- src/main/frontend/handler/editor.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/frontend/handler/editor.cljs b/src/main/frontend/handler/editor.cljs index 1bcd487f12..b0e82c34dd 100644 --- a/src/main/frontend/handler/editor.cljs +++ b/src/main/frontend/handler/editor.cljs @@ -2,7 +2,6 @@ (:require [clojure.set :as set] [clojure.string :as string] [clojure.walk :as w] - [dommy.core :as d] [dommy.core :as dom] [electron.ipc :as ipc] [frontend.commands :as commands] @@ -1255,7 +1254,7 @@ (when-let [timeout @*action-bar-timeout] (js/clearTimeout timeout)) (state/pub-event! [:editor/hide-action-bar]) - (when (seq (remove (fn [b] (d/has-class? b "ls-table-cell")) + (when (seq (remove (fn [b] (dom/has-class? b "ls-table-cell")) (state/get-selection-blocks))) (let [timeout (js/setTimeout #(state/pub-event! [:editor/show-action-bar]) delay)] (reset! *action-bar-timeout timeout)))))