mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix more lints
This commit is contained in:
@@ -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?)
|
||||
|
||||
Reference in New Issue
Block a user