Browse Source

fix: create shortcut

Konstantinos Kaloutas 3 năm trước cách đây
mục cha
commit
189d68d9a7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/frontend/modules/shortcut/config.cljs

+ 1 - 1
src/main/frontend/modules/shortcut/config.cljs

@@ -104,7 +104,7 @@
                                   :fn      editor-handler/keydown-new-line-handler}
 
    :editor/new-whiteboard        {:binding "n w"
-                                  :fn      whiteboard-handler/create-new-whiteboard!}
+                                  :fn      #(whiteboard-handler/create-new-whiteboard!)}
 
    :editor/follow-link           {:binding "mod+o"
                                   :fn      editor-handler/follow-link-under-cursor!}