0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

🐛 Fix challenge redirect with parameters

This commit is contained in:
Alejandro Alonso 2024-09-11 12:30:12 +02:00
parent 6564736d3e
commit 89f64e0c49

View file

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