🐛 Fix unexpected exception after logout.

This commit is contained in:
Andrey Antukh 2020-02-20 09:41:30 +01:00
parent 5d1b358179
commit 35e50dc47c
3 changed files with 6 additions and 21 deletions

View file

@ -109,7 +109,7 @@
(and (map? error)
(= :authentication type)
(= :unauthorized code))
(ts/schedule 0 #(st/emit! (rt/nav :login)))
(ts/schedule 0 #(st/emit! logout))
;; Network error
(and (map? error)