aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-02-18 19:58:54 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-02-18 19:58:54 +0100
commit69c3aecea3422b73d815e120fb267e7dd63309bc (patch)
tree0db4f98db9ca195ba4ae83158b676f79fbfa528b /src/frontend
parentcca4e5c4dbfa66f9528f8867a94636f0d42579a4 (diff)
fix(frontend): apply on click handler to play queue close button
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/tubo/components/play_queue.cljs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tubo/components/play_queue.cljs b/src/frontend/tubo/components/play_queue.cljs
index 762e005..19cd631 100644
--- a/src/frontend/tubo/components/play_queue.cljs
+++ b/src/frontend/tubo/components/play_queue.cljs
@@ -47,8 +47,8 @@
[:div.flex.justify-between.items-center.shrink-0
[:h1.text-2xl.font-bold.py-6 "Play Queue"]
[:button.p-2.text-xl
- [:i.fa-solid.fa-close
- {:on-click #(rf/dispatch [::events/toggle-media-queue])}]]]
+ {:on-click #(rf/dispatch [::events/toggle-media-queue])}
+ [:i.fa-solid.fa-close]]]
[:div.flex.flex-col.pr-2.overflow-y-auto.flex-auto
(for [[i item] (map-indexed vector media-queue)]
^{:key i} [play-queue-item item media-queue-pos i])]