0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

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

This commit is contained in:
Alejandro Alonso 2024-09-11 11:34:04 +02:00
commit d01cd70c6b

View file

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