Explorar o código

fix(editor): more wrong usage of shortcut handler

Andelf %!s(int64=2) %!d(string=hai) anos
pai
achega
70f2ab1e98
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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!}