0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

🐛 Set correct order of execution for logged-out event

This commit is contained in:
Andrey Antukh 2024-06-27 16:10:04 +02:00
parent 17015c5353
commit 7facd69039

View file

@ -569,8 +569,8 @@
on-success identity}} (meta params)] on-success identity}} (meta params)]
(->> (rp/cmd! :delete-profile {}) (->> (rp/cmd! :delete-profile {})
(rx/tap on-success) (rx/tap on-success)
(rx/catch on-error)
(rx/map logged-out) (rx/map logged-out)
(rx/catch on-error)
(rx/delay-at-least 300)))))) (rx/delay-at-least 300))))))
;; --- EVENT: request-profile-recovery ;; --- EVENT: request-profile-recovery