mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 06:35:02 +00:00
fix(ui): correct on-click handler syntax for dropdown menu item
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
(when (state/enable-flashcards?)
|
(when (state/enable-flashcards?)
|
||||||
(shui/dropdown-menu-item
|
(shui/dropdown-menu-item
|
||||||
{:key "Make a Card"
|
{:key "Make a Card"
|
||||||
:on-click (fsrs/batch-make-cards!)}
|
:on-click #(fsrs/batch-make-cards!)}
|
||||||
(t :context-menu/make-a-flashcard)))
|
(t :context-menu/make-a-flashcard)))
|
||||||
|
|
||||||
(shui/dropdown-menu-item
|
(shui/dropdown-menu-item
|
||||||
|
|||||||
Reference in New Issue
Block a user