fix more lints

This commit is contained in:
Gabriel Horner
2024-03-21 14:16:18 -04:00
parent e3b67a9d9a
commit 62ff0d9d8b
3 changed files with 3 additions and 13 deletions

View File

@@ -16,7 +16,6 @@
[frontend.components.icon :as icon]
[frontend.components.handbooks :as handbooks]
[dommy.core :as d]
[frontend.components.page-menu :as page-menu]
[frontend.components.content :as cp-content]
[frontend.config :as config]
[frontend.context.i18n :refer [t]]
@@ -733,16 +732,6 @@
:left (str (first position) "px")
:top (str (second position) "px")}} links]]))
(rum/defc page-title-custom-context-menu-content
[page]
(when-not (string/blank? page)
(let [page-menu-options (page-menu/page-menu page)]
[:.menu-links-wrapper
(for [{:keys [title options]} page-menu-options]
(rum/with-key
(ui/menu-link options title)
title))])))
(rum/defc custom-context-menu < rum/reactive
[]
(let [show? (state/sub :custom-context-menu/show?)