   (fn handler
     ; "return true if anything is stored in the undo list, otherwise false"
     [_ _]
-    (reaction (undos? @undo-list))))
+    (reaction (undos?))))
 
 (subs/register
   :redos?
   (fn handler
     ; "return true if anything is stored in the redo list, otherwise false"
     [_ _]
-    (reaction (redos? @redo-list))))
+    (reaction (redos?))))
 
 
 ;; -- event handlers  ----------------------------------------------------------------------------

                           @max-undos
                           (conj @undo-list @app-db)))))

(defn- undos?
  [v]
  (> (count v) 1))

(defn- redos?
  [v]
  (> (count v) 0))


;; -- subscriptions  -----------------------------------------------------------------------------

  (:require
    [reagent.core      :as     reagent]
    [re-frame.db       :refer  [app-db]]
    [re-frame.handlers :as     handlers]
    [re-frame.subs     :as     subs ]))


