0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Alejandro Alonso 2024-09-11 12:05:45 +02:00
commit eadae5e2cd

View file

@ -148,9 +148,9 @@
(if (and (= :authorization (:type data)) (if (and (= :authorization (:type data))
(= :challenge-required (:code data))) (= :challenge-required (:code data)))
(let [path (rt/get-current-path) (let [path (rt/get-current-path)
href (-> path href (->> path
(str "/challenge.html?redirect=") (str "/challenge.html?redirect=")
(js/encodeURIComponent))] (js/encodeURIComponent))]
(rx/of (rt/nav-raw href))) (rx/of (rt/nav-raw href)))
(rx/throw cause)))) (rx/throw cause))))