0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Remove not necessary state cleaning.

This commit is contained in:
Andrey Antukh 2021-01-25 19:31:45 +01:00 committed by Hirunatan
parent a3ffbeccd0
commit 9f581ed10b

View file

@ -181,10 +181,6 @@
[{:keys [team-id] :as params}]
(us/assert ::us/uuid team-id)
(ptk/reify ::fetch-recent-files
ptk/UpdateEvent
(update [_ state]
(dissoc state :files :recent-files))
ptk/WatchEvent
(watch [_ state stream]
(let [params {:team-id team-id}]