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:
Gabriel Horner
2023-01-16 17:44:11 -05:00
committed by Andelf
parent 4c33ff05fc
commit d9096e8b82
2 changed files with 2 additions and 1 deletions

View File

@@ -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)))