mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 11:58:31 +02:00
🐛 Fix race-condition on 404 states.
This commit is contained in:
parent
6722ca41bf
commit
9c1c755836
6 changed files with 46 additions and 49 deletions
|
@ -11,7 +11,6 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.messages :as dm]
|
||||
[app.main.data.users :as du]
|
||||
[app.main.sentry :as sentry]
|
||||
[app.main.store :as st]
|
||||
|
@ -75,7 +74,7 @@
|
|||
(st/emit! (rt/nav :auth-login))
|
||||
|
||||
(nil? match)
|
||||
(st/emit! (dm/assign-exception {:type :not-found}))
|
||||
(st/emit! (rt/assign-exception {:type :not-found}))
|
||||
|
||||
:else
|
||||
(st/emit! (rt/navigated match)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue