aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/views/playlist.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tubo/views/playlist.cljs')
-rw-r--r--src/frontend/tubo/views/playlist.cljs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/frontend/tubo/views/playlist.cljs b/src/frontend/tubo/views/playlist.cljs
index 0f2325a..4bc7164 100644
--- a/src/frontend/tubo/views/playlist.cljs
+++ b/src/frontend/tubo/views/playlist.cljs
@@ -9,11 +9,12 @@
(defn playlist
[{{:keys [url]} :query-params}]
(let [{:keys [id name playlist-type thumbnail-url banner-url
- uploader-name uploader-url uploader-avatar stream-count
- next-page related-streams]} @(rf/subscribe [:playlist])
- next-page-url (:url next-page)
- service-color @(rf/subscribe [:service-color])
- scrolled-to-bottom? @(rf/subscribe [:scrolled-to-bottom])]
+ uploader-name uploader-url uploader-avatar
+ stream-count next-page
+ related-streams]} @(rf/subscribe [:playlist])
+ next-page-url (:url next-page)
+ service-color @(rf/subscribe [:service-color])
+ scrolled-to-bottom? @(rf/subscribe [:scrolled-to-bottom])]
(when scrolled-to-bottom?
(rf/dispatch [::events/playlist-pagination url next-page-url]))
[layout/content-container