diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-19 22:48:44 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-19 22:48:44 +0100 |
commit | 490bf0475374981764691e268ee67cbac9c9d8e7 (patch) | |
tree | 435490a2b91548f41ffe3f35282a114bfbdb0eb3 /src | |
parent | 71d05e8b950266b6af84d0ff904ad2ef75215eec (diff) |
chore: remove unnecessary parameter
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/tubo/subs.cljs | 2 |
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 |