re-natal/resources/cljs-reagent6/subs.cljs

7 lines
141 B
Clojure

(ns $PROJECT_NAME_HYPHENATED$.subs
(:require [re-frame.core :refer [reg-sub]]))
(reg-sub
:get-greeting
(fn [db _]
(:greeting db)))