aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/notifications/subs.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/tubo/notifications/subs.cljs')
-rw-r--r--src/frontend/tubo/notifications/subs.cljs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/tubo/notifications/subs.cljs b/src/frontend/tubo/notifications/subs.cljs
new file mode 100644
index 0000000..f7c9460
--- /dev/null
+++ b/src/frontend/tubo/notifications/subs.cljs
@@ -0,0 +1,8 @@
+(ns tubo.notifications.subs
+ (:require
+ [re-frame.core :as rf]))
+
+(rf/reg-sub
+ :notifications
+ (fn [db _]
+ (:notifications db)))