mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix(plugin): restart app not work
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
(defn invoke-exported-api
|
||||
[type & args]
|
||||
(try
|
||||
(apply js-invoke js/logseq.api type args)
|
||||
(apply js-invoke (aget js/window.logseq "api") type args)
|
||||
(catch js/Error e (js/console.error e))))
|
||||
|
||||
;; state handlers
|
||||
|
||||
Reference in New Issue
Block a user