aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/views/kiosk.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tubo/views/kiosk.cljs')
-rw-r--r--src/frontend/tubo/views/kiosk.cljs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/frontend/tubo/views/kiosk.cljs b/src/frontend/tubo/views/kiosk.cljs
deleted file mode 100644
index 7e534bf..0000000
--- a/src/frontend/tubo/views/kiosk.cljs
+++ /dev/null
@@ -1,20 +0,0 @@
-(ns tubo.views.kiosk
- (:require
- [re-frame.core :as rf]
- [tubo.components.items :as items]
- [tubo.components.layout :as layout]
- [tubo.events :as events]))
-
-(defn kiosk
- [{{:keys [serviceId kioskId]} :query-params}]
- (let [{:keys [id url related-streams
- next-page]} @(rf/subscribe [:kiosk])
- next-page-url (:url next-page)
- service-color @(rf/subscribe [:service-color])
- service-id (or @(rf/subscribe [:service-id]) serviceId)
- scrolled-to-bottom? @(rf/subscribe [:scrolled-to-bottom])]
- (when scrolled-to-bottom?
- (rf/dispatch [::events/kiosk-pagination service-id id next-page-url]))
- [layout/content-container
- [layout/content-header id]
- [items/related-streams related-streams next-page-url]]))