From 69c3aecea3422b73d815e120fb267e7dd63309bc Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 18 Feb 2024 19:58:54 +0100 Subject: fix(frontend): apply on click handler to play queue close button --- src/frontend/tubo/components/play_queue.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') 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])] -- cgit v1.2.3