Sfoglia il codice sorgente

fix: remove unused electron handler

Removed in 0d6c65eec48fa3fd68099c9859fd73399c8c3f4b
Gabriel Horner 2 anni fa
parent
commit
f9063e7a7c
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      src/electron/electron/handler.cljs

+ 0 - 5
src/electron/electron/handler.cljs

@@ -580,11 +580,6 @@
     (f window graph-name)
     (state/set-state! :window/once-graph-ready nil)))
 
-(defmethod handle :reloadWindowPage [^js win]
-  (logger/warn ::reload-window-page)
-  (when-let [web-content (.-webContents win)]
-    (.reload web-content)))
-
 (defmethod handle :window-minimize [^js win]
   (.minimize win))