No need to use ratoms, can use normal atoms.

This commit is contained in:
mike-thompson-day8 2015-03-02 15:46:46 +11:00
parent 406cbe261c
commit dc74e017df

View File

@ -16,8 +16,8 @@
(reset! max-undos n))
;;
(def ^:private undo-list (reagent/atom [])) ;; a list of history states
(def ^:private redo-list (reagent/atom [])) ;; a list of future states, caused by undoing
(def ^:private undo-list (atom [])) ;; a list of history states
(def ^:private redo-list (atom [])) ;; a list of future states, caused by undoing
(defn clear-history!