aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-19 22:48:44 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-12-19 22:48:44 +0100
commit490bf0475374981764691e268ee67cbac9c9d8e7 (patch)
tree435490a2b91548f41ffe3f35282a114bfbdb0eb3
parent71d05e8b950266b6af84d0ff904ad2ef75215eec (diff)
chore: remove unnecessary parameter
-rw-r--r--src/frontend/tubo/subs.cljs2
1 files changed, 1 insertions, 1 deletions
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