aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tubo/modals/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/modals/subs.cljs
parentce1fb72f0dcbf56c77e33bf59337fa662c8b5001 (diff)
refactor(frontend): modularize the app into standalone panels
Diffstat (limited to 'src/frontend/tubo/modals/subs.cljs')
-rw-r--r--src/frontend/tubo/modals/subs.cljs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/tubo/modals/subs.cljs b/src/frontend/tubo/modals/subs.cljs
new file mode 100644
index 0000000..ea43f63
--- /dev/null
+++ b/src/frontend/tubo/modals/subs.cljs
@@ -0,0 +1,8 @@
+(ns tubo.modals.subs
+ (:require
+ [re-frame.core :as rf]))
+
+(rf/reg-sub
+ :modals
+ (fn [db _]
+ (:modals db)))