Skip to content

Commit

Permalink
Dev setup tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Aug 9, 2023
1 parent d3fc041 commit 06c8774
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/portal/setup.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
{:portal.viewer/default :portal.viewer/inspector})))

(defn dashboard-submit [value]
(swap! tap-list (fn [taps] (take 10 (conj taps value)))))
(swap! tap-list (fn [taps]
(with-meta
(take 10 (conj taps value))
(meta taps)))))

(defn ^:command clear-taps
"Clear tap list."
Expand Down

0 comments on commit 06c8774

Please sign in to comment.