Skip to content

Commit

Permalink
Export provenance-why from main for showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Jan 6, 2024
1 parent 1fa7d81 commit 11aadd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bean/ui/main.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
(:require [bean.ui.views.root :as root]
[bean.ui.events :as events]
[bean.ui.routes :as routes]
[bean.ui.provenance :as provenance]
[bean.ui.subs :as subs]
[re-frame.core :as rf]
[reagent.dom :as r]))

Expand All @@ -11,3 +13,6 @@
(r/render
[root/routed]
(.getElementById js/document "app")))

(defn ^:export why [expression]
(js/console.log (provenance/sentence-proof expression @(rf/subscribe [::subs/sheet]))))

0 comments on commit 11aadd8

Please sign in to comment.