Skip to content

Commit

Permalink
Hide demos
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhanshuguptagit committed Jul 17, 2024
1 parent aaa3a72 commit 2349105
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/bean/ui/views/sheet.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -939,20 +939,7 @@
:on-mouse-down #(when selection
(rf/dispatch [::events/set-cell-backgrounds
(area/area->addresses selection)
color]))} ""])]
[:div {:class :controls-demos}
[:p {:style {:display :inline :margin-right "15px"}} "Demos"]
(for [demo demo-names]
[:button {:key demo
:class [:controls-btn
(when (= current-demo-name demo)
:pressed)]
:on-click #(rf/dispatch [::events/select-demo demo])}
demo])
[:button {:key "reset-demo"
:class [:controls-btn]
:on-click #(rf/dispatch [::events/reset-demos])}
"Reset"]]]))
color]))} ""])]]))

(defn sheet []
[:div {:class :sheet-container}
Expand Down

0 comments on commit 2349105

Please sign in to comment.