From 45442f348785be1c3fa1eb4a596e12438ec574af Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Mon, 13 Jul 2026 16:06:46 -0600 Subject: remove redundant functions --- src/org_ckons_cljs/notifications/react.cljs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/org_ckons_cljs/notifications') 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))) -- cgit v1.3