mirror of
https://github.com/status-im/re-frame.git
synced 2025-02-23 15:28:09 +00:00
No need to use ratoms, can use normal atoms.
This commit is contained in:
parent
406cbe261c
commit
dc74e017df
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user