aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/settings/subs.cljs
diff options
context:
space:
mode:
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)))