mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
Remove useless print impl for rstore basic events.
This commit is contained in:
parent
e59605ec11
commit
cf905d77b1
@ -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…
x
Reference in New Issue
Block a user