Skip to content

Commit

Permalink
[repro] Registering/clearing a flow causes two renders
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Nov 12, 2023
1 parent a7730ce commit 9535049
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/flow/src/re_frame/flow/demo.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
(defn warning []
(let [error-state (rf/subscribe :flow {:id ::error-state})]
[:div {:style {:color "red"}}
(gensym)
(->> @error-state
(get {:too-many "Warning: only the first 5 items will be used."
:none "No items. Please add one."
Expand Down

0 comments on commit 9535049

Please sign in to comment.