mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -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
|
||||
UpdateEvent
|
||||
(-apply-update [_ state]
|
||||
(f state))
|
||||
|
||||
IPrintWithWriter
|
||||
(-pr-writer [mv writer _]
|
||||
(-write writer "#<event:rstore/swap-state>"))))
|
||||
(f state))))
|
||||
|
||||
(defn reset-state
|
||||
"A event that resets the internal state with
|
||||
the provided value."
|
||||
[state]
|
||||
(reify
|
||||
IPrintWithWriter
|
||||
(-pr-writer [_ writer x]
|
||||
(-write writer "#<event:rstore/reset-state ")
|
||||
(-pr-writer state writer x)
|
||||
(-write writer ">"))
|
||||
|
||||
UpdateEvent
|
||||
(-apply-update [_ _]
|
||||
state)))
|
||||
|
|
Loading…
Reference in a new issue