0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -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 ptk/WatchEvent
(watch [_ state s] (watch [_ state s]
(->> (rp/mutation :logout) (->> (rp/mutation :logout)
(rx/catch (constantly (rx/empty)))
(rx/ignore))) (rx/ignore)))
ptk/EffectEvent ptk/EffectEvent