mirror of
https://github.com/penpot/penpot.git
synced 2026-08-04 11:58:48 +00:00
👷 Fix CI error
This commit is contained in:
parent
eb720b053a
commit
3a4e9ccc5a
@ -152,16 +152,6 @@
|
|||||||
(rx/of (rt/nav-raw href)))
|
(rx/of (rt/nav-raw href)))
|
||||||
(rx/throw cause))))
|
(rx/throw cause))))
|
||||||
|
|
||||||
(defn- on-fetch-profile-exception
|
|
||||||
[cause]
|
|
||||||
(let [data (ex-data cause)]
|
|
||||||
(if (and (= :authorization (:type data))
|
|
||||||
(= :challenge-required (:code data)))
|
|
||||||
(let [path (rt/get-current-path)
|
|
||||||
href (str "/challenge.html?redirect=" path)]
|
|
||||||
(rx/of (rt/nav-raw href)))
|
|
||||||
(rx/throw cause))))
|
|
||||||
|
|
||||||
(defn fetch-profile
|
(defn fetch-profile
|
||||||
[]
|
[]
|
||||||
(ptk/reify ::fetch-profile
|
(ptk/reify ::fetch-profile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user