mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
Fix search tippy failing
See https://sentry.io/organizations/logseq/issues/3857043471/?project=5311485&query=is%3Aunresolved&referrer=issue-stream for full error Also added a schema for the offending fn so future stacktraces lead to the buggy UI component
This commit is contained in:
@@ -1729,6 +1729,7 @@ Similar to re-frame subscriptions"
|
||||
(:system/events @state))
|
||||
|
||||
(defn pub-event!
|
||||
{:malli/schema [:=> [:cat vector?] :any]}
|
||||
[payload]
|
||||
(let [chan (get-events-chan)]
|
||||
(async/put! chan payload)))
|
||||
|
||||
Reference in New Issue
Block a user