소스 검색

fix: create shortcut

Konstantinos Kaloutas 3 년 전
부모
커밋
189d68d9a7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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!}