Skip to content

Commit

Permalink
Stop listening to componentDidUpdate in epochs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MawiraIke authored and superstructor committed Jul 7, 2022
1 parent 52b7465 commit 9842e9f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/day8/re_frame_10x/navigation/epochs/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
(when @active?
(rf/dispatch [::epochs.events/scroll-into-view-debounced (rdom/dom-node this)])))

:component-did-update
(fn [this]
(when @active?
(rf/dispatch [::epochs.events/scroll-into-view-debounced (rdom/dom-node this)])))

:reagent-render
(fn [event id]
(let [ambiance @(rf/subscribe [::settings.subs/ambiance])
Expand Down

0 comments on commit 9842e9f

Please sign in to comment.