Skip to content

Commit

Permalink
Shorten app log example
Browse files Browse the repository at this point in the history
  • Loading branch information
codebeige committed Nov 29, 2023
1 parent 5b525a0 commit 47ed806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moira/application.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Application Log API.
(defn start [_ {{:keys [on]} :app-log}]
(on ::module-b/something-happened #(pr \"Something happened: \" %)))
(on :something-happened #(pr \"Something happened:\" %)))
"

(:require [clojure.spec.alpha :as s]
Expand Down

0 comments on commit 47ed806

Please sign in to comment.