Skip to content

Commit 9842e9f

Browse files
MawiraIkesuperstructor
authored andcommitted
Stop listening to componentDidUpdate in epochs.
1 parent 52b7465 commit 9842e9f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/day8/re_frame_10x/navigation/epochs/views.cljs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@
4242
(when @active?
4343
(rf/dispatch [::epochs.events/scroll-into-view-debounced (rdom/dom-node this)])))
4444

45-
:component-did-update
46-
(fn [this]
47-
(when @active?
48-
(rf/dispatch [::epochs.events/scroll-into-view-debounced (rdom/dom-node this)])))
49-
5045
:reagent-render
5146
(fn [event id]
5247
(let [ambiance @(rf/subscribe [::settings.subs/ambiance])

0 commit comments

Comments
 (0)