mirror of
https://github.com/penpot/penpot.git
synced 2025-06-11 22:01:38 +02:00
🐛 Fix unexpected exception after logout.
This commit is contained in:
parent
5d1b358179
commit
35e50dc47c
3 changed files with 6 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue