From 490bf0475374981764691e268ee67cbac9c9d8e7 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Thu, 19 Dec 2024 22:48:44 +0100 Subject: chore: remove unnecessary parameter --- src/frontend/tubo/subs.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/tubo/subs.cljs b/src/frontend/tubo/subs.cljs index bbd218c..cf77cc0 100644 --- a/src/frontend/tubo/subs.cljs +++ b/src/frontend/tubo/subs.cljs @@ -34,7 +34,7 @@ :dark-theme (fn [] (rf/subscribe [:settings])) - (fn [{:keys [theme]} _] + (fn [{:keys [theme]}] (or (and (= theme "auto") (= @!auto-theme "dark")) (= theme "dark")))) (rf/reg-sub -- cgit v1.2.3