fix(ui): correct on-click handler syntax for dropdown menu item

This commit is contained in:
charlie
2026-01-27 14:53:13 +08:00
parent aef1fb9486
commit 0d4ce6a615

View File

@@ -84,7 +84,7 @@
(when (state/enable-flashcards?)
(shui/dropdown-menu-item
{:key "Make a Card"
:on-click (fsrs/batch-make-cards!)}
:on-click #(fsrs/batch-make-cards!)}
(t :context-menu/make-a-flashcard)))
(shui/dropdown-menu-item