aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/settings/subs.cljs
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 10:41:21 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 11:16:15 +0200
commitaf5351fdb5325db4aff75faa85a5bb97fe0d1364 (patch)
treea63ec85c4b94959462f0d6a575809a8bd268f8f9 /src/frontend/tubo/settings/subs.cljs
parentce1fb72f0dcbf56c77e33bf59337fa662c8b5001 (diff)
refactor(frontend): modularize the app into standalone panels
Diffstat (limited to 'src/frontend/tubo/settings/subs.cljs')
-rw-r--r--src/frontend/tubo/settings/subs.cljs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/tubo/settings/subs.cljs b/src/frontend/tubo/settings/subs.cljs
new file mode 100644
index 0000000..d6aaadf
--- /dev/null
+++ b/src/frontend/tubo/settings/subs.cljs
@@ -0,0 +1,8 @@
+(ns tubo.settings.subs
+ (:require
+ [re-frame.core :as rf]))
+
+(rf/reg-sub
+ :settings
+ (fn [db _]
+ (:settings db)))