Skip to content

Commit

Permalink
Fix compilation inconsistency due to lack of type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Dec 9, 2022
1 parent 98404a5 commit 9c31dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quo2/components/tabs/tabs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
:on-press (fn [id]
(reset! active-tab-id id)
(when scroll-on-press?
(.scrollToIndex @flat-list-ref
(.scrollToIndex ^js @flat-list-ref
#js {:animated true
:index index
:viewPosition 0.5}))
Expand Down

0 comments on commit 9c31dd1

Please sign in to comment.