summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2026-07-13 16:06:46 -0600
committerckonstanski <carlos.konstanski@olo.com>2026-07-13 16:06:46 -0600
commit45442f348785be1c3fa1eb4a596e12438ec574af (patch)
treeaa8dcb84b8384b2d1ed594008439219df427eaf3
parent2e716dcc9701167f2da600cae344d77d282dcefd (diff)
remove redundant functions
-rw-r--r--src/org_ckons_cljs/notifications/react.cljs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/org_ckons_cljs/notifications/react.cljs b/src/org_ckons_cljs/notifications/react.cljs
index 9fad6a4..e44f4f8 100644
--- a/src/org_ckons_cljs/notifications/react.cljs
+++ b/src/org_ckons_cljs/notifications/react.cljs
@@ -11,8 +11,6 @@
(declare reset-errormsg)
(declare comp-message)
(declare comp-errormsg)
-(declare set-message)
-(declare set-errormsg)
(def notification-state (r/atom {:message nil :errormsg nil}))
@@ -31,9 +29,3 @@
[:div {:class "alert alert-danger"
:style {:display (cond (empty? (@notification-state :errormsg)) "none" :else "block")}}
(@notification-state :errormsg)])
-
-(defn set-message [message]
- (reset! notification-state (assoc @notification-state :message message)))
-
-(defn set-errormsg [errormsg]
- (reset! notification-state (assoc @notification-state :errormsg errormsg)))