mirror of
https://github.com/penpot/penpot.git
synced 2025-04-01 01:21:21 -05:00
👷 Fix CI error
This commit is contained in:
parent
eb720b053a
commit
3a4e9ccc5a
2 changed files with 1 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
[app.main.data.events :as ev]
|
[app.main.data.events :as ev]
|
||||||
[app.util.browser-history :as bhistory]
|
[app.util.browser-history :as bhistory]
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
[app.util.globals :as globals]
|
[app.util.globals :as globals]
|
||||||
[app.util.timers :as ts]
|
[app.util.timers :as ts]
|
||||||
[beicon.v2.core :as rx]
|
[beicon.v2.core :as rx]
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
|
|
Loading…
Add table
Reference in a new issue