Skip to content

Commit

Permalink
fix invert buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
pbaille committed Dec 13, 2024
1 parent e66b439 commit 3ae0b6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/noon/client/ui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@
{:on-click (fn [_] (set-visibility :summary))})
(c LuSquarePlus
{:on-click (fn [_] (set-visibility :expanded))})]
:expanded [(c LuSquareMenu
{:on-click (fn [_] (set-visibility :summary))})
(c LuSquareMinus
{:on-click (fn [_] (set-visibility :folded))})]
:expanded [(c LuSquareMinus
{:on-click (fn [_] (set-visibility :folded))})
(c LuSquareMenu
{:on-click (fn [_] (set-visibility :summary))})]
(println visibility))]

(uix/use-effect #(set-visibility (or visibility-prop :expanded))
Expand Down

0 comments on commit 3ae0b6f

Please sign in to comment.