0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🐛 Fix unexpected recursion error on logout.

This commit is contained in:
Andrey Antukh 2021-02-22 12:53:25 +01:00 committed by Andrés Moya
parent 29addbe987
commit 6e840a439e

View file

@ -90,6 +90,7 @@
ptk/WatchEvent
(watch [_ state s]
(->> (rp/mutation :logout)
(rx/catch (constantly (rx/empty)))
(rx/ignore)))
ptk/EffectEvent