mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 16:30:37 -05:00
Remove useless print impl for rstore basic events.
This commit is contained in:
parent
e59605ec11
commit
cf905d77b1
1 changed files with 1 additions and 11 deletions
|
@ -66,23 +66,13 @@
|
||||||
(reify
|
(reify
|
||||||
UpdateEvent
|
UpdateEvent
|
||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(f state))
|
(f state))))
|
||||||
|
|
||||||
IPrintWithWriter
|
|
||||||
(-pr-writer [mv writer _]
|
|
||||||
(-write writer "#<event:rstore/swap-state>"))))
|
|
||||||
|
|
||||||
(defn reset-state
|
(defn reset-state
|
||||||
"A event that resets the internal state with
|
"A event that resets the internal state with
|
||||||
the provided value."
|
the provided value."
|
||||||
[state]
|
[state]
|
||||||
(reify
|
(reify
|
||||||
IPrintWithWriter
|
|
||||||
(-pr-writer [_ writer x]
|
|
||||||
(-write writer "#<event:rstore/reset-state ")
|
|
||||||
(-pr-writer state writer x)
|
|
||||||
(-write writer ">"))
|
|
||||||
|
|
||||||
UpdateEvent
|
UpdateEvent
|
||||||
(-apply-update [_ _]
|
(-apply-update [_ _]
|
||||||
state)))
|
state)))
|
||||||
|
|
Loading…
Reference in a new issue