mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 06:28:47 +00:00
🐛 Fix unexpected 404 error on access shared link.
This commit is contained in:
parent
9b875aba21
commit
d0a8647186
@ -137,7 +137,8 @@
|
|||||||
(d/index-by :id)
|
(d/index-by :id)
|
||||||
(assoc state :comment-threads)))
|
(assoc state :comment-threads)))
|
||||||
(on-error [{:keys [type] :as err}]
|
(on-error [{:keys [type] :as err}]
|
||||||
(if (= :authentication type)
|
(if (or (= :authentication type)
|
||||||
|
(= :not-found type))
|
||||||
(rx/empty)
|
(rx/empty)
|
||||||
(rx/throw err)))]
|
(rx/throw err)))]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user