Просмотр исходного кода

fix(editor): more wrong usage of shortcut handler

Andelf 2 лет назад
Родитель
Сommit
70f2ab1e98
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/modules/shortcut/config.cljs

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

@@ -348,7 +348,7 @@
                                                 (state/pub-event! [:command/run]))}
 
    :go/home                        {:binding "g h"
-                                    :fn      route-handler/redirect-to-home!}
+                                    :fn      #(route-handler/redirect-to-home!)}
 
    :go/all-pages                   {:binding "g a"
                                     :fn      route-handler/redirect-to-all-pages!}